April 2018 Requests Generation Report
Produced: 4/25/2018 3:35:08 PM
   
Mode:  Differences, With Context, Ignoring Unimportant  
Left base folder: D:\repos\msgraph-sdk-dotnet\src\Microsoft.Graph\Requests\Generated  
Right base folder: D:\TempCSharp\com\microsoft\graph\Requests  

   
File: WorkbookWorksheetUsedRangeRequestBuilder.cs  

   
File: WorkbookFunctionsLogRequestBuilder.cs  

   
File: VppTokenSyncLicensesRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type VppTokenSyncLicensesRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class VppTokenSyncLicensesRequestBuilder : BaseActionMethodRequestBuilder<IVppTokenSyncLicensesRequest>, IVppTokenSyncLicensesRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Constructs a new <see cref="VppTokenSyncLicensesRequestBuilder"/>.
      22         /// </summary>
      23         /// <param name="requestUrl">The URL for the request.</param>
      24         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 25         public VppTokenSyncLicensesRequestBuilder(
      26             string requestUrl,
      27             IBaseClient client)
      28             : base(requestUrl, client)
      29         {
      30         }
    = 31  
      32         /// <summary>
      33         /// A method used by the base class to construct a request class instance.
      34         /// </summary>
      35         /// <param name="functionUrl">The request URL to </param>
      36         /// <param name="options">The query and header options for the request.</param>
      37         /// <returns>An instance of a specific request class.</returns>
    -+ 38         protected override IVppTokenSyncLicensesRequest CreateRequest(string functionUrl, IEnumerable<Option> options)
      39         {
      40             var request = new VppTokenSyncLicensesRequest(functionUrl, this.Client, options);
    = 41  
    -+ 42             return request;
      43         }
      44     }
      45 }

   
File: VppTokenSyncLicensesRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The type VppTokenSyncLicensesRequest.
      19     /// </summary>
    -+ 20     public partial class VppTokenSyncLicensesRequest : BaseRequest, IVppTokenSyncLicensesRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new VppTokenSyncLicensesRequest.
      24         /// </summary>
    -+ 25         public VppTokenSyncLicensesRequest(
      26             string requestUrl,
      27             IBaseClient client,
      28             IEnumerable<Option> options)
      29             : base(requestUrl, client, options)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Issues the POST request.
      35         /// </summary>
    -+ 36         public System.Threading.Tasks.Task<VppToken> PostAsync()
      37         {
      38             return this.PostAsync(CancellationToken.None);
      39         }
    = 40  
      41         /// <summary>
      42         /// Issues the POST request.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await for async call.</returns>
    -+ 46         public System.Threading.Tasks.Task<VppToken> PostAsync(
      47             CancellationToken cancellationToken)
      48         {
      49             this.Method = "POST";
      50             return this.SendAsync<VppToken>(null, cancellationToken);
      51         }
    = 52  
      53  
      54  
      55  
      56         /// <summary>
      57         /// Adds the specified expand value to the request.
      58         /// </summary>
      59         /// <param name="value">The expand value.</param>
      60         /// <returns>The request object to send.</returns>
    -+ 61         public IVppTokenSyncLicensesRequest Expand(string value)
      62         {
      63             this.QueryOptions.Add(new QueryOption("$expand", value));
      64             return this;
      65         }
    = 66  
      67         /// <summary>
      68         /// Adds the specified select value to the request.
      69         /// </summary>
      70         /// <param name="value">The select value.</param>
      71         /// <returns>The request object to send.</returns>
    -+ 72         public IVppTokenSyncLicensesRequest Select(string value)
      73         {
      74             this.QueryOptions.Add(new QueryOption("$select", value));
      75             return this;
      76         }
      77     }
      78 }

   
File: VppTokenRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type VppTokenRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class VppTokenRequestBuilder : EntityRequestBuilder, IVppTokenRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new VppTokenRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public VppTokenRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IVppTokenRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IVppTokenRequest Request(IEnumerable<Option> options)
      48         {
      49             return new VppTokenRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
      52         /// <summary>
      53         /// Gets the request builder for VppTokenSyncLicenses.
      54         /// </summary>
      55         /// <returns>The <see cref="IVppTokenSyncLicensesRequestBuilder"/>.</returns>
    -+ 56         public IVppTokenSyncLicensesRequestBuilder SyncLicenses()
      57         {
      58             return new VppTokenSyncLicensesRequestBuilder(
      59                 this.AppendSegmentToRequestUrl("microsoft.graph.syncLicenses"),
      60                 this.Client);
      61         }
    = 62     
    -+ 63     }
      64 }

   
File: VppTokenRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type VppTokenRequest.
      20     /// </summary>
    -+ 21     public partial class VppTokenRequest : BaseRequest, IVppTokenRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new VppTokenRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public VppTokenRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified VppToken using POST.
      39         /// </summary>
      40         /// <param name="vppTokenToCreate">The VppToken to create.</param>
      41         /// <returns>The created VppToken.</returns>
    -+ 42         public System.Threading.Tasks.Task<VppToken> CreateAsync(VppToken vppTokenToCreate)
      43         {
      44             return this.CreateAsync(vppTokenToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified VppToken using POST.
      49         /// </summary>
      50         /// <param name="vppTokenToCreate">The VppToken to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created VppToken.</returns>
    -+ 53         public async System.Threading.Tasks.Task<VppToken> CreateAsync(VppToken vppTokenToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<VppToken>(vppTokenToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified VppToken.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified VppToken.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<VppToken>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified VppToken.
      84         /// </summary>
      85         /// <returns>The VppToken.</returns>
    -+ 86         public System.Threading.Tasks.Task<VppToken> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified VppToken.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The VppToken.</returns>
    -+ 96         public async System.Threading.Tasks.Task<VppToken> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<VppToken>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified VppToken using PATCH.
      106         /// </summary>
      107         /// <param name="vppTokenToUpdate">The VppToken to update.</param>
      108         /// <returns>The updated VppToken.</returns>
    -+ 109         public System.Threading.Tasks.Task<VppToken> UpdateAsync(VppToken vppTokenToUpdate)
      110         {
      111             return this.UpdateAsync(vppTokenToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified VppToken using PATCH.
      116         /// </summary>
      117         /// <param name="vppTokenToUpdate">The VppToken to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated VppToken.</returns>
    -+ 120         public async System.Threading.Tasks.Task<VppToken> UpdateAsync(VppToken vppTokenToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<VppToken>(vppTokenToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IVppTokenRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IVppTokenRequest Expand(Expression<Func<VppToken, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IVppTokenRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IVppTokenRequest Select(Expression<Func<VppToken, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="vppTokenToInitialize">The <see cref="VppToken"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(VppToken vppTokenToInitialize)
      204         {
    = 205  
    -+ 206         }
      207     }
      208 }

   
File: UserRequestBuilder.cs  
158         } = 158         }
159     159  
160         /// <summary>   160         /// <summary>
      161         /// Gets the request builder for Outlook.
      162         /// </summary>
      163         /// <returns>The <see cref="IOutlookUserRequestBuilder"/>.</returns>
    -+ 164         public IOutlookUserRequestBuilder Outlook
      165         {
      166             get
      167             {
      168                 return new OutlookUserRequestBuilder(this.AppendSegmentToRequestUrl("outlook"), this.Client);
      169             }
      170         }
    = 171  
      172         /// <summary>
161         /// Gets the request builder for Messages.   173         /// Gets the request builder for Messages.
162         /// </summary>   174         /// </summary>
163         /// <returns>The <see cref="IUserMessagesCollectionRequestBuilder"/>.</returns>   175         /// <returns>The <see cref="IUserMessagesCollectionRequestBuilder"/>.</returns>
164         public IUserMessagesCollectionRequestBuilder Messages   176         public IUserMessagesCollectionRequestBuilder Messages
 
398         } = 410         }
      411  
      412         /// <summary>
      413         /// Gets the request builder for Activities.
      414         /// </summary>
      415         /// <returns>The <see cref="IUserActivitiesCollectionRequestBuilder"/>.</returns>
    -+ 416         public IUserActivitiesCollectionRequestBuilder Activities
      417         {
      418             get
      419             {
      420                 return new UserActivitiesCollectionRequestBuilder(this.AppendSegmentToRequestUrl("activities"), this.Client);
      421             }
      422         }
399      = 423     
400         /// <summary>   424         /// <summary>
401         /// Gets the request builder for UserAssignLicense.   425         /// Gets the request builder for UserAssignLicense.
402         /// </summary>   426         /// </summary>
403         /// <returns>The <see cref="IUserAssignLicenseRequestBuilder"/>.</returns>   427         /// <returns>The <see cref="IUserAssignLicenseRequestBuilder"/>.</returns>
404         public IUserAssignLicenseRequestBuilder AssignLicense(   428         public IUserAssignLicenseRequestBuilder AssignLicense(

   
File: UserRequest.cs  
555                         userToInitialize.DeviceManagementTroubleshootingEvents.InitializeNextPageRequest( = 555                         userToInitialize.DeviceManagementTroubleshootingEvents.InitializeNextPageRequest(
556                             this.Client,   556                             this.Client,
557                             nextPageLinkString);   557                             nextPageLinkString);
558                     }   558                     }
559                 }   559                 }
560     560  
    -+ 561                 if (userToInitialize.Activities != null && userToInitialize.Activities.CurrentPage != null)
      562                 {
      563                     userToInitialize.Activities.AdditionalData = userToInitialize.AdditionalData;
    = 564  
    -+ 565                     object nextPageLink;
      566                     userToInitialize.AdditionalData.TryGetValue("activities@odata.nextLink", out nextPageLink);
      567                     var nextPageLinkString = nextPageLink as string;
    = 568  
    -+ 569                     if (!string.IsNullOrEmpty(nextPageLinkString))
      570                     {
      571                         userToInitialize.Activities.InitializeNextPageRequest(
      572                             this.Client,
      573                             nextPageLinkString);
      574                     }
      575                 }
    = 576  
561             }   577             }
562     578  
563     579  
564         }   580         }
565     }   581     }
566 }   582 }

   
File: UserActivityWithReferenceRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityWithReferenceRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
    = 13  
      14     /// <summary>
      15     /// The type UserActivityWithReferenceRequestBuilder.
      16     /// </summary>
    -+ 17     public partial class UserActivityWithReferenceRequestBuilder : BaseRequestBuilder, IUserActivityWithReferenceRequestBuilder
      18     {
    = 19  
      20         /// <summary>
      21         /// Constructs a new UserActivityWithReferenceRequestBuilder.
      22         /// </summary>
      23         /// <param name="requestUrl">The URL for the built request.</param>
      24         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 25         public UserActivityWithReferenceRequestBuilder(
      26             string requestUrl,
      27             IBaseClient client)
      28             : base(requestUrl, client)
      29         {
      30         }
    = 31  
      32         /// <summary>
      33         /// Builds the request.
      34         /// </summary>
      35         /// <returns>The built request.</returns>
    -+ 36         public IUserActivityWithReferenceRequest Request()
      37         {
      38             return this.Request(null);
      39         }
    = 40  
      41         /// <summary>
      42         /// Builds the request.
      43         /// </summary>
      44         /// <param name="options">The query and header options for the request.</param>
      45         /// <returns>The built request.</returns>
    -+ 46         public IUserActivityWithReferenceRequest Request(IEnumerable<Option> options)
      47         {
      48             return new UserActivityWithReferenceRequest(this.RequestUrl, this.Client, options);
      49         }
    = 50         
      51         /// <summary>
      52         /// Gets the request builder for the reference of the userActivity.
      53         /// </summary>
      54         /// <returns>The <see cref="IUserActivityReferenceRequestBuilder"/>.</returns>
    -+ 55         public IUserActivityReferenceRequestBuilder Reference
      56         {
      57             get
      58             {
      59                 return new UserActivityReferenceRequestBuilder(this.AppendSegmentToRequestUrl("$ref"), this.Client);
      60             }
      61         }
    = 62  
    -+ 63     }
      64 }

   
File: UserActivityWithReferenceRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityWithReferenceRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type UserActivityWithReferenceRequest.
      20     /// </summary>
    -+ 21     public partial class UserActivityWithReferenceRequest : BaseRequest, IUserActivityWithReferenceRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new UserActivityWithReferenceRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public UserActivityWithReferenceRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Gets the specified UserActivity.
      39         /// </summary>
      40         /// <returns>The UserActivity.</returns>
    -+ 41         public System.Threading.Tasks.Task<UserActivity> GetAsync()
      42         {
      43             return this.GetAsync(CancellationToken.None);
      44         }
    = 45  
      46         /// <summary>
      47         /// Gets the specified UserActivity.
      48         /// </summary>
      49         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      50         /// <returns>The UserActivity.</returns>
    -+ 51         public async System.Threading.Tasks.Task<UserActivity> GetAsync(CancellationToken cancellationToken)
      52         {
      53             this.Method = "GET";
      54             var retrievedEntity = await this.SendAsync<UserActivity>(null, cancellationToken).ConfigureAwait(false);
      55             return retrievedEntity;
      56         }
    = 57  
      58         /// <summary>
      59         /// Adds the specified expand value to the request.
      60         /// </summary>
      61         /// <param name="value">The expand value.</param>
      62         /// <returns>The request object to send.</returns>
    -+ 63         public IUserActivityWithReferenceRequest Expand(string value)
      64         {
      65             this.QueryOptions.Add(new QueryOption("$expand", value));
      66             return this;
      67         }
    = 68  
      69         /// <summary>
      70         /// Adds the specified expand value to the request.
      71         /// </summary>
      72         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      73         /// <returns>The request object to send.</returns>
    -+ 74         public IUserActivityWithReferenceRequest Expand(Expression<Func<UserActivity, object>> expandExpression)
      75         {
      76             if (expandExpression == null)
      77             {
      78                 throw new ArgumentNullException(nameof(expandExpression));
      79             }
      80             string error;
      81             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      82             if (value == null)
      83             {
      84                 throw new ArgumentException(error, nameof(expandExpression));
      85             }
      86             else
      87             {
      88                 this.QueryOptions.Add(new QueryOption("$expand", value));
      89             }
      90             return this;
      91         }
    = 92  
      93         /// <summary>
      94         /// Adds the specified select value to the request.
      95         /// </summary>
      96         /// <param name="value">The select value.</param>
      97         /// <returns>The request object to send.</returns>
    -+ 98         public IUserActivityWithReferenceRequest Select(string value)
      99         {
      100             this.QueryOptions.Add(new QueryOption("$select", value));
      101             return this;
      102         }
    = 103  
      104         /// <summary>
      105         /// Adds the specified select value to the request.
      106         /// </summary>
      107         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      108         /// <returns>The request object to send.</returns>
    -+ 109         public IUserActivityWithReferenceRequest Select(Expression<Func<UserActivity, object>> selectExpression)
      110         {
      111             if (selectExpression == null)
      112             {
      113                 throw new ArgumentNullException(nameof(selectExpression));
      114             }
      115             string error;
      116             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      117             if (value == null)
      118             {
      119                 throw new ArgumentException(error, nameof(selectExpression));
      120             }
      121             else
      122             {
      123                 this.QueryOptions.Add(new QueryOption("$select", value));
      124             }
      125             return this;
      126         }
    = 127  
    -+ 128     }
      129 }

   
File: UserActivityRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type UserActivityRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class UserActivityRequestBuilder : EntityRequestBuilder, IUserActivityRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new UserActivityRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public UserActivityRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IUserActivityRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IUserActivityRequest Request(IEnumerable<Option> options)
      48         {
      49             return new UserActivityRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
      52         /// <summary>
      53         /// Gets the request builder for HistoryItems.
      54         /// </summary>
      55         /// <returns>The <see cref="IUserActivityHistoryItemsCollectionRequestBuilder"/>.</returns>
    -+ 56         public IUserActivityHistoryItemsCollectionRequestBuilder HistoryItems
      57         {
      58             get
      59             {
      60                 return new UserActivityHistoryItemsCollectionRequestBuilder(this.AppendSegmentToRequestUrl("historyItems"), this.Client);
      61             }
      62         }
    = 63     
      64         
      65     
    -+ 66     }
      67 }

   
File: UserActivityRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type UserActivityRequest.
      20     /// </summary>
    -+ 21     public partial class UserActivityRequest : BaseRequest, IUserActivityRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new UserActivityRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public UserActivityRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified UserActivity using POST.
      39         /// </summary>
      40         /// <param name="userActivityToCreate">The UserActivity to create.</param>
      41         /// <returns>The created UserActivity.</returns>
    -+ 42         public System.Threading.Tasks.Task<UserActivity> CreateAsync(UserActivity userActivityToCreate)
      43         {
      44             return this.CreateAsync(userActivityToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified UserActivity using POST.
      49         /// </summary>
      50         /// <param name="userActivityToCreate">The UserActivity to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created UserActivity.</returns>
    -+ 53         public async System.Threading.Tasks.Task<UserActivity> CreateAsync(UserActivity userActivityToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<UserActivity>(userActivityToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified UserActivity.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified UserActivity.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<UserActivity>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified UserActivity.
      84         /// </summary>
      85         /// <returns>The UserActivity.</returns>
    -+ 86         public System.Threading.Tasks.Task<UserActivity> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified UserActivity.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The UserActivity.</returns>
    -+ 96         public async System.Threading.Tasks.Task<UserActivity> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<UserActivity>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified UserActivity using PATCH.
      106         /// </summary>
      107         /// <param name="userActivityToUpdate">The UserActivity to update.</param>
      108         /// <returns>The updated UserActivity.</returns>
    -+ 109         public System.Threading.Tasks.Task<UserActivity> UpdateAsync(UserActivity userActivityToUpdate)
      110         {
      111             return this.UpdateAsync(userActivityToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified UserActivity using PATCH.
      116         /// </summary>
      117         /// <param name="userActivityToUpdate">The UserActivity to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated UserActivity.</returns>
    -+ 120         public async System.Threading.Tasks.Task<UserActivity> UpdateAsync(UserActivity userActivityToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<UserActivity>(userActivityToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IUserActivityRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IUserActivityRequest Expand(Expression<Func<UserActivity, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IUserActivityRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IUserActivityRequest Select(Expression<Func<UserActivity, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="userActivityToInitialize">The <see cref="UserActivity"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(UserActivity userActivityToInitialize)
      204         {
    = 205  
    -+ 206             if (userActivityToInitialize != null && userActivityToInitialize.AdditionalData != null)
      207             {
    = 208  
    -+ 209                 if (userActivityToInitialize.HistoryItems != null && userActivityToInitialize.HistoryItems.CurrentPage != null)
      210                 {
      211                     userActivityToInitialize.HistoryItems.AdditionalData = userActivityToInitialize.AdditionalData;
    = 212  
    -+ 213                     object nextPageLink;
      214                     userActivityToInitialize.AdditionalData.TryGetValue("historyItems@odata.nextLink", out nextPageLink);
      215                     var nextPageLinkString = nextPageLink as string;
    = 216  
    -+ 217                     if (!string.IsNullOrEmpty(nextPageLinkString))
      218                     {
      219                         userActivityToInitialize.HistoryItems.InitializeNextPageRequest(
      220                             this.Client,
      221                             nextPageLinkString);
      222                     }
      223                 }
    = 224  
    -+ 225             }
    = 226  
      227  
    -+ 228         }
      229     }
      230 }

   
File: UserActivityReferenceRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityReferenceRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
    = 13  
      14     /// <summary>
      15     /// The type UserActivityReferenceRequestBuilder.
      16     /// </summary>
    -+ 17     public partial class UserActivityReferenceRequestBuilder : BaseRequestBuilder, IUserActivityReferenceRequestBuilder
      18     {
    = 19         /// <summary>
      20         /// Constructs a new UserActivityReferenceRequestBuilder.
      21         /// </summary>
      22         /// <param name="requestUrl">The URL for the built request.</param>
      23         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 24         public UserActivityReferenceRequestBuilder(
      25             string requestUrl,
      26             IBaseClient client)
      27             : base(requestUrl, client)
      28         {
      29         }
    = 30  
      31         /// <summary>
      32         /// Builds the request.
      33         /// </summary>
      34         /// <returns>The built request.</returns>
    -+ 35         public IUserActivityReferenceRequest Request()
      36         {
      37             return this.Request(null);
      38         }
    = 39  
      40         /// <summary>
      41         /// Builds the request.
      42         /// </summary>
      43         /// <param name="options">The query and header options for the request.</param>
      44         /// <returns>The built request.</returns>
    -+ 45         public IUserActivityReferenceRequest Request(IEnumerable<Option> options)
      46         {
      47             return new UserActivityReferenceRequest(this.RequestUrl, this.Client, options);
      48         }
      49     }
      50 }

   
File: UserActivityReferenceRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityReferenceRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System.Collections.Generic;
      12     using System.Net.Http;
      13     using System.Threading;
    = 14  
      15     /// <summary>
      16     /// The type UserActivityReferenceRequest.
      17     /// </summary>
    -+ 18     public partial class UserActivityReferenceRequest : BaseRequest, IUserActivityReferenceRequest
      19     {
    = 20         /// <summary>
      21         /// Constructs a new UserActivityReferenceRequest.
      22         /// </summary>
      23         /// <param name="requestUrl">The URL for the built request.</param>
      24         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      25         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 26         public UserActivityReferenceRequest(
      27             string requestUrl,
      28             IBaseClient client,
      29             IEnumerable<Option> options)
      30             : base(requestUrl, client, options)
      31         {
      32         }
    = 33  
      34         /// <summary>
      35         /// Deletes the specified UserActivity reference.
      36         /// </summary>
      37         /// <returns>The task to await.</returns>
    -+ 38         public System.Threading.Tasks.Task DeleteAsync()
      39         {
      40             return this.DeleteAsync(CancellationToken.None);
      41         }
    = 42  
      43         /// <summary>
      44         /// Deletes the specified UserActivity reference.
      45         /// </summary>
      46         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      47         /// <returns>The task to await.</returns>
    -+ 48         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      49         {
      50             this.Method = "DELETE";
      51             await this.SendAsync<UserActivity>(null, cancellationToken).ConfigureAwait(false);
      52         }
    = 53  
      54         /// <summary>
      55         /// Puts the specified UserActivity reference.
      56         /// </summary>
      57         /// <param name="id">The UserActivity reference to update.</param>
      58         /// <returns>The task to await.</returns>
    -+ 59         public System.Threading.Tasks.Task PutAsync(string id)
      60         {
      61             return this.PutAsync(id, CancellationToken.None);
      62         }
    = 63  
      64         /// <summary>
      65         /// Puts the specified UserActivity reference.
      66         /// </summary>
      67         /// <param name="id">The UserActivity reference to update.</param>
      68         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      69         /// <returns>The task to await.</returns>
    -+ 70         public async System.Threading.Tasks.Task PutAsync(string id, CancellationToken cancellationToken)
      71         {
      72             var baseUrl = this.Client.BaseUrl;
      73             var objectUri = string.Format(@"{0}/users/{1}", baseUrl, id);
      74             var payload = new Newtonsoft.Json.Linq.JObject(
      75                             new Newtonsoft.Json.Linq.JProperty("@odata.id", objectUri));
      76             this.Method = "PUT";
      77             this.ContentType = "application/json";
      78             await this.SendAsync(payload.ToString(), cancellationToken).ConfigureAwait(false);
      79         }
      80     }
      81 }

   
File: UserActivityRecentRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type UserActivityRecentRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class UserActivityRecentRequestBuilder : BaseFunctionMethodRequestBuilder<IUserActivityRecentRequest>, IUserActivityRecentRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Constructs a new <see cref="UserActivityRecentRequestBuilder"/>.
      22         /// </summary>
      23         /// <param name="requestUrl">The URL for the request.</param>
      24         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 25         public UserActivityRecentRequestBuilder(
      26             string requestUrl,
      27             IBaseClient client)
      28             : base(requestUrl, client)
      29         {
      30         }
    = 31  
      32         /// <summary>
      33         /// A method used by the base class to construct a request class instance.
      34         /// </summary>
      35         /// <param name="functionUrl">The request URL to </param>
      36         /// <param name="options">The query and header options for the request.</param>
      37         /// <returns>An instance of a specific request class.</returns>
    -+ 38         protected override IUserActivityRecentRequest CreateRequest(string functionUrl, IEnumerable<Option> options)
      39         {
      40             var request = new UserActivityRecentRequest(functionUrl, this.Client, options);
    = 41  
    -+ 42             return request;
      43         }
      44     }
      45 }

   
File: UserActivityRecentRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The type UserActivityRecentRequest.
      19     /// </summary>
    -+ 20     public partial class UserActivityRecentRequest : BaseRequest, IUserActivityRecentRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new UserActivityRecentRequest.
      24         /// </summary>
    -+ 25         public UserActivityRecentRequest(
      26             string requestUrl,
      27             IBaseClient client,
      28             IEnumerable<Option> options)
      29             : base(requestUrl, client, options)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Issues the GET request.
      35         /// </summary>
    -+ 36         public System.Threading.Tasks.Task<IUserActivityRecentCollectionPage> GetAsync()
      37         {
      38             return this.GetAsync(CancellationToken.None);
      39         }
    = 40  
      41         /// <summary>
      42         /// Issues the GET request.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await for async call.</returns>
    -+ 46         public async System.Threading.Tasks.Task<IUserActivityRecentCollectionPage> GetAsync(
      47             CancellationToken cancellationToken)
      48         {
      49             this.Method = "GET";
      50             var response = await this.SendAsync<UserActivityRecentCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      51             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      52             {
      53                 if (response.AdditionalData != null)
      54                 {
      55                     response.Value.AdditionalData = response.AdditionalData;
    = 56  
    -+ 57                     object nextPageLink;
      58                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 59  
    -+ 60                     var nextPageLinkString = nextPageLink as string;
    = 61  
    -+ 62                     if (!string.IsNullOrEmpty(nextPageLinkString))
      63                     {
      64                         response.Value.InitializeNextPageRequest(
      65                             this.Client,
      66                             nextPageLinkString);
      67                     }
      68                 }
    = 69  
    -+ 70                 return response.Value;
      71             }
    = 72  
    -+ 73             return null;
      74         }
    = 75  
      76  
      77         /// <summary>
      78         /// Adds the specified expand value to the request.
      79         /// </summary>
      80         /// <param name="value">The expand value.</param>
      81         /// <returns>The request object to send.</returns>
    -+ 82         public IUserActivityRecentRequest Expand(string value)
      83         {
      84             this.QueryOptions.Add(new QueryOption("$expand", value));
      85             return this;
      86         }
    = 87  
      88         /// <summary>
      89         /// Adds the specified select value to the request.
      90         /// </summary>
      91         /// <param name="value">The select value.</param>
      92         /// <returns>The request object to send.</returns>
    -+ 93         public IUserActivityRecentRequest Select(string value)
      94         {
      95             this.QueryOptions.Add(new QueryOption("$select", value));
      96             return this;
      97         }
    = 98  
      99         /// <summary>
      100         /// Adds the specified top value to the request.
      101         /// </summary>
      102         /// <param name="value">The top value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         public IUserActivityRecentRequest Top(int value)
      105         {
      106             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      107             return this;
      108         }
    = 109  
      110         /// <summary>
      111         /// Adds the specified filter value to the request.
      112         /// </summary>
      113         /// <param name="value">The filter value.</param>
      114         /// <returns>The request object to send.</returns>
    -+ 115         public IUserActivityRecentRequest Filter(string value)
      116         {
      117             this.QueryOptions.Add(new QueryOption("$filter", value));
      118             return this;
      119         }
    = 120  
      121         /// <summary>
      122         /// Adds the specified skip value to the request.
      123         /// </summary>
      124         /// <param name="value">The skip value.</param>
      125         /// <returns>The request object to send.</returns>
    -+ 126         public IUserActivityRecentRequest Skip(int value)
      127         {
      128             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      129             return this;
      130         }
    = 131  
      132         /// <summary>
      133         /// Adds the specified orderby value to the request.
      134         /// </summary>
      135         /// <param name="value">The orderby value.</param>
      136         /// <returns>The request object to send.</returns>
    -+ 137         public IUserActivityRecentRequest OrderBy(string value)
      138         {
      139             this.QueryOptions.Add(new QueryOption("$orderby", value));
      140             return this;
      141         }
      142     }
      143 }

   
File: UserActivityRecentCollectionResponse.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodCollectionResponse.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System.Collections.Generic;
      12     using System.Runtime.Serialization;
      13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The type UserActivityRecentCollectionResponse.
      17     /// </summary>
    -+ 18     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      19     public class UserActivityRecentCollectionResponse
      20     {
    = 21         /// <summary>
      22         /// Gets or sets the <see cref="IUserActivityRecentCollectionPage"/> value.
      23         /// </summary>
    -+ 24         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Required.Default)]
      25         public IUserActivityRecentCollectionPage Value { get; set; }
    = 26         
      27         /// <summary>
      28         /// Gets or sets additional data.
      29         /// </summary>
    -+ 30         [JsonExtensionData(ReadData = true)]
      31         public IDictionary<string, object> AdditionalData { get; set; }
      32     }
      33 }

   
File: UserActivityRecentCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
    = 11     /// <summary>
      12     /// The type UserActivityRecentCollectionPage.
      13     /// </summary>
    -+ 14     public partial class UserActivityRecentCollectionPage : CollectionPage<UserActivity>, IUserActivityRecentCollectionPage
      15     {
    = 16         /// <summary>
      17         /// Gets the next page <see cref="IUserActivityRecentRequest"/> instance.
      18         /// </summary>
    -+ 19         public IUserActivityRecentRequest NextPageRequest { get; private set; }
    = 20  
      21         /// <summary>
      22         /// Initializes the NextPageRequest property.
      23         /// </summary>
    -+ 24         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      25         {
      26             if (!string.IsNullOrEmpty(nextPageLinkString))
      27             {
      28                 this.NextPageRequest = new UserActivityRecentRequest(
      29                     nextPageLinkString,
      30                     client,
      31                     null);
      32             }
      33         }
      34     }
      35 }

   
File: UserActivityHistoryItemsCollectionResponse.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionResponse.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System.Collections.Generic;
      11     using System.Runtime.Serialization;
      12     using Newtonsoft.Json;
    = 13  
      14     /// <summary>
      15     /// The type UserActivityHistoryItemsCollectionResponse.
      16     /// </summary>
    -+ 17     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      18     public class UserActivityHistoryItemsCollectionResponse
      19     {
    = 20         /// <summary>
      21         /// Gets or sets the <see cref="IUserActivityHistoryItemsCollectionPage"/> value.
      22         /// </summary>
    -+ 23         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Newtonsoft.Json.Required.Default)]
      24         public IUserActivityHistoryItemsCollectionPage Value { get; set; }
    = 25  
      26         /// <summary>
      27         /// Gets or sets additional data.
      28         /// </summary>
    -+ 29         [JsonExtensionData(ReadData = true)]
      30         public IDictionary<string, object> AdditionalData { get; set; }
      31     }
      32 }

   
File: UserActivityHistoryItemsCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The type UserActivityHistoryItemsCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial class UserActivityHistoryItemsCollectionRequestBuilder : BaseRequestBuilder, IUserActivityHistoryItemsCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Constructs a new UserActivityHistoryItemsCollectionRequestBuilder.
      20         /// </summary>
      21         /// <param name="requestUrl">The URL for the built request.</param>
      22         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 23         public UserActivityHistoryItemsCollectionRequestBuilder(
      24             string requestUrl,
      25             IBaseClient client)
      26             : base(requestUrl, client)
      27         {
      28         }
    = 29  
      30         /// <summary>
      31         /// Builds the request.
      32         /// </summary>
      33         /// <returns>The built request.</returns>
    -+ 34         public IUserActivityHistoryItemsCollectionRequest Request()
      35         {
      36             return this.Request(null);
      37         }
    = 38  
      39         /// <summary>
      40         /// Builds the request.
      41         /// </summary>
      42         /// <param name="options">The query and header options for the request.</param>
      43         /// <returns>The built request.</returns>
    -+ 44         public IUserActivityHistoryItemsCollectionRequest Request(IEnumerable<Option> options)
      45         {
      46             return new UserActivityHistoryItemsCollectionRequest(this.RequestUrl, this.Client, options);
      47         }
    = 48  
      49         /// <summary>
      50         /// Gets an <see cref="IActivityHistoryItemRequestBuilder"/> for the specified UserActivityActivityHistoryItem.
      51         /// </summary>
      52         /// <param name="id">The ID for the UserActivityActivityHistoryItem.</param>
      53         /// <returns>The <see cref="IActivityHistoryItemRequestBuilder"/>.</returns>
    -+ 54         public IActivityHistoryItemRequestBuilder this[string id]
      55         {
      56             get
      57             {
      58                 return new ActivityHistoryItemRequestBuilder(this.AppendSegmentToRequestUrl(id), this.Client);
      59             }
      60         }
    = 61  
      62         
    -+ 63     }
      64 }

   
File: UserActivityHistoryItemsCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The type UserActivityHistoryItemsCollectionRequest.
      19     /// </summary>
    -+ 20     public partial class UserActivityHistoryItemsCollectionRequest : BaseRequest, IUserActivityHistoryItemsCollectionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new UserActivityHistoryItemsCollectionRequest.
      24         /// </summary>
      25         /// <param name="requestUrl">The URL for the built request.</param>
      26         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      27         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 28         public UserActivityHistoryItemsCollectionRequest(
      29             string requestUrl,
      30             IBaseClient client,
      31             IEnumerable<Option> options)
      32             : base(requestUrl, client, options)
      33         {
      34         }
    = 35         
      36         /// <summary>
      37         /// Adds the specified ActivityHistoryItem to the collection via POST.
      38         /// </summary>
      39         /// <param name="activityHistoryItem">The ActivityHistoryItem to add.</param>
      40         /// <returns>The created ActivityHistoryItem.</returns>
    -+ 41         public System.Threading.Tasks.Task<ActivityHistoryItem> AddAsync(ActivityHistoryItem activityHistoryItem)
      42         {
      43             return this.AddAsync(activityHistoryItem, CancellationToken.None);
      44         }
    = 45  
      46         /// <summary>
      47         /// Adds the specified ActivityHistoryItem to the collection via POST.
      48         /// </summary>
      49         /// <param name="activityHistoryItem">The ActivityHistoryItem to add.</param>
      50         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      51         /// <returns>The created ActivityHistoryItem.</returns>
    -+ 52         public System.Threading.Tasks.Task<ActivityHistoryItem> AddAsync(ActivityHistoryItem activityHistoryItem, CancellationToken cancellationToken)
      53         {
      54             this.ContentType = "application/json";
      55             this.Method = "POST";
      56             return this.SendAsync<ActivityHistoryItem>(activityHistoryItem, cancellationToken);
      57         }
    = 58  
      59         /// <summary>
      60         /// Gets the collection page.
      61         /// </summary>
      62         /// <returns>The collection page.</returns>
    -+ 63         public System.Threading.Tasks.Task<IUserActivityHistoryItemsCollectionPage> GetAsync()
      64         {
      65             return this.GetAsync(CancellationToken.None);
      66         }
    = 67  
      68         /// <summary>
      69         /// Gets the collection page.
      70         /// </summary>
      71         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      72         /// <returns>The collection page.</returns>
    -+ 73         public async System.Threading.Tasks.Task<IUserActivityHistoryItemsCollectionPage> GetAsync(CancellationToken cancellationToken)
      74         {
      75             this.Method = "GET";
      76             var response = await this.SendAsync<UserActivityHistoryItemsCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      77             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      78             {
      79                 if (response.AdditionalData != null)
      80                 {
      81                     object nextPageLink;
      82                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 83  
    -+ 84                     var nextPageLinkString = nextPageLink as string;
    = 85  
    -+ 86                     if (!string.IsNullOrEmpty(nextPageLinkString))
      87                     {
      88                         response.Value.InitializeNextPageRequest(
      89                             this.Client,
      90                             nextPageLinkString);
      91                     }
    = 92  
      93                     // Copy the additional data collection to the page itself so that information is not lost
    -+ 94                     response.Value.AdditionalData = response.AdditionalData;
      95                 }
    = 96  
    -+ 97                 return response.Value;
      98             }
    = 99  
    -+ 100             return null;
      101         }
    = 102  
      103         /// <summary>
      104         /// Adds the specified expand value to the request.
      105         /// </summary>
      106         /// <param name="value">The expand value.</param>
      107         /// <returns>The request object to send.</returns>
    -+ 108         public IUserActivityHistoryItemsCollectionRequest Expand(string value)
      109         {
      110             this.QueryOptions.Add(new QueryOption("$expand", value));
      111             return this;
      112         }
    = 113  
      114         /// <summary>
      115         /// Adds the specified expand value to the request.
      116         /// </summary>
      117         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      118         /// <returns>The request object to send.</returns>
    -+ 119         public IUserActivityHistoryItemsCollectionRequest Expand(Expression<Func<ActivityHistoryItem, object>> expandExpression)
      120         {
      121             if (expandExpression == null)
      122             {
      123                 throw new ArgumentNullException(nameof(expandExpression));
      124             }
      125             string error;
      126             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      127             if (value == null)
      128             {
      129                 throw new ArgumentException(error, nameof(expandExpression));
      130             }
      131             else
      132             {
      133                 this.QueryOptions.Add(new QueryOption("$expand", value));
      134             }
      135             return this;
      136         }
    = 137  
      138         /// <summary>
      139         /// Adds the specified select value to the request.
      140         /// </summary>
      141         /// <param name="value">The select value.</param>
      142         /// <returns>The request object to send.</returns>
    -+ 143         public IUserActivityHistoryItemsCollectionRequest Select(string value)
      144         {
      145             this.QueryOptions.Add(new QueryOption("$select", value));
      146             return this;
      147         }
    = 148  
      149         /// <summary>
      150         /// Adds the specified select value to the request.
      151         /// </summary>
      152         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      153         /// <returns>The request object to send.</returns>
    -+ 154         public IUserActivityHistoryItemsCollectionRequest Select(Expression<Func<ActivityHistoryItem, object>> selectExpression)
      155         {
      156             if (selectExpression == null)
      157             {
      158                 throw new ArgumentNullException(nameof(selectExpression));
      159             }
      160             string error;
      161             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      162             if (value == null)
      163             {
      164                 throw new ArgumentException(error, nameof(selectExpression));
      165             }
      166             else
      167             {
      168                 this.QueryOptions.Add(new QueryOption("$select", value));
      169             }
      170             return this;
      171         }
    = 172  
      173         /// <summary>
      174         /// Adds the specified top value to the request.
      175         /// </summary>
      176         /// <param name="value">The top value.</param>
      177         /// <returns>The request object to send.</returns>
    -+ 178         public IUserActivityHistoryItemsCollectionRequest Top(int value)
      179         {
      180             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      181             return this;
      182         }
    = 183  
      184         /// <summary>
      185         /// Adds the specified filter value to the request.
      186         /// </summary>
      187         /// <param name="value">The filter value.</param>
      188         /// <returns>The request object to send.</returns>
    -+ 189         public IUserActivityHistoryItemsCollectionRequest Filter(string value)
      190         {
      191             this.QueryOptions.Add(new QueryOption("$filter", value));
      192             return this;
      193         }
    = 194  
      195         /// <summary>
      196         /// Adds the specified skip value to the request.
      197         /// </summary>
      198         /// <param name="value">The skip value.</param>
      199         /// <returns>The request object to send.</returns>
    -+ 200         public IUserActivityHistoryItemsCollectionRequest Skip(int value)
      201         {
      202             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      203             return this;
      204         }
    = 205  
      206         /// <summary>
      207         /// Adds the specified orderby value to the request.
      208         /// </summary>
      209         /// <param name="value">The orderby value.</param>
      210         /// <returns>The request object to send.</returns>
    -+ 211         public IUserActivityHistoryItemsCollectionRequest OrderBy(string value)
      212         {
      213             this.QueryOptions.Add(new QueryOption("$orderby", value));
      214             return this;
      215         }
      216     }
      217 }

   
File: UserActivityHistoryItemsCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
      13     /// <summary>
      14     /// The type UserActivityHistoryItemsCollectionPage.
      15     /// </summary>
    -+ 16     public partial class UserActivityHistoryItemsCollectionPage : CollectionPage<ActivityHistoryItem>, IUserActivityHistoryItemsCollectionPage
      17     {
    = 18         /// <summary>
      19         /// Gets the next page <see cref="IUserActivityHistoryItemsCollectionRequest"/> instance.
      20         /// </summary>
    -+ 21         public IUserActivityHistoryItemsCollectionRequest NextPageRequest { get; private set; }
    = 22  
      23         /// <summary>
      24         /// Initializes the NextPageRequest property.
      25         /// </summary>
    -+ 26         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      27         {
      28             if (!string.IsNullOrEmpty(nextPageLinkString))
      29             {
      30                 this.NextPageRequest = new UserActivityHistoryItemsCollectionRequest(
      31                     nextPageLinkString,
      32                     client,
      33                     null);
      34             }
      35         }
      36     }
      37 }

   
File: UserActivitiesCollectionResponse.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionResponse.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System.Collections.Generic;
      11     using System.Runtime.Serialization;
      12     using Newtonsoft.Json;
    = 13  
      14     /// <summary>
      15     /// The type UserActivitiesCollectionResponse.
      16     /// </summary>
    -+ 17     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      18     public class UserActivitiesCollectionResponse
      19     {
    = 20         /// <summary>
      21         /// Gets or sets the <see cref="IUserActivitiesCollectionPage"/> value.
      22         /// </summary>
    -+ 23         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Newtonsoft.Json.Required.Default)]
      24         public IUserActivitiesCollectionPage Value { get; set; }
    = 25  
      26         /// <summary>
      27         /// Gets or sets additional data.
      28         /// </summary>
    -+ 29         [JsonExtensionData(ReadData = true)]
      30         public IDictionary<string, object> AdditionalData { get; set; }
      31     }
      32 }

   
File: UserActivitiesCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The type UserActivitiesCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial class UserActivitiesCollectionRequestBuilder : BaseRequestBuilder, IUserActivitiesCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Constructs a new UserActivitiesCollectionRequestBuilder.
      20         /// </summary>
      21         /// <param name="requestUrl">The URL for the built request.</param>
      22         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 23         public UserActivitiesCollectionRequestBuilder(
      24             string requestUrl,
      25             IBaseClient client)
      26             : base(requestUrl, client)
      27         {
      28         }
    = 29  
      30         /// <summary>
      31         /// Builds the request.
      32         /// </summary>
      33         /// <returns>The built request.</returns>
    -+ 34         public IUserActivitiesCollectionRequest Request()
      35         {
      36             return this.Request(null);
      37         }
    = 38  
      39         /// <summary>
      40         /// Builds the request.
      41         /// </summary>
      42         /// <param name="options">The query and header options for the request.</param>
      43         /// <returns>The built request.</returns>
    -+ 44         public IUserActivitiesCollectionRequest Request(IEnumerable<Option> options)
      45         {
      46             return new UserActivitiesCollectionRequest(this.RequestUrl, this.Client, options);
      47         }
    = 48  
      49         /// <summary>
      50         /// Gets an <see cref="IUserActivityRequestBuilder"/> for the specified UserUserActivity.
      51         /// </summary>
      52         /// <param name="id">The ID for the UserUserActivity.</param>
      53         /// <returns>The <see cref="IUserActivityRequestBuilder"/>.</returns>
    -+ 54         public IUserActivityRequestBuilder this[string id]
      55         {
      56             get
      57             {
      58                 return new UserActivityRequestBuilder(this.AppendSegmentToRequestUrl(id), this.Client);
      59             }
      60         }
    = 61  
      62         /// <summary>
      63         /// Gets the request builder for UserActivityRecent.
      64         /// </summary>
      65         /// <returns>The <see cref="IUserActivityRecentRequestBuilder"/>.</returns>
    -+ 66         public IUserActivityRecentRequestBuilder Recent()
      67         {
      68             return new UserActivityRecentRequestBuilder(
      69                 this.AppendSegmentToRequestUrl("microsoft.graph.recent"),
      70                 this.Client);
      71         }
      72     }
      73 }

   
File: UserActivitiesCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The type UserActivitiesCollectionRequest.
      19     /// </summary>
    -+ 20     public partial class UserActivitiesCollectionRequest : BaseRequest, IUserActivitiesCollectionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new UserActivitiesCollectionRequest.
      24         /// </summary>
      25         /// <param name="requestUrl">The URL for the built request.</param>
      26         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      27         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 28         public UserActivitiesCollectionRequest(
      29             string requestUrl,
      30             IBaseClient client,
      31             IEnumerable<Option> options)
      32             : base(requestUrl, client, options)
      33         {
      34         }
    = 35         
      36         /// <summary>
      37         /// Adds the specified UserActivity to the collection via POST.
      38         /// </summary>
      39         /// <param name="userActivity">The UserActivity to add.</param>
      40         /// <returns>The created UserActivity.</returns>
    -+ 41         public System.Threading.Tasks.Task<UserActivity> AddAsync(UserActivity userActivity)
      42         {
      43             return this.AddAsync(userActivity, CancellationToken.None);
      44         }
    = 45  
      46         /// <summary>
      47         /// Adds the specified UserActivity to the collection via POST.
      48         /// </summary>
      49         /// <param name="userActivity">The UserActivity to add.</param>
      50         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      51         /// <returns>The created UserActivity.</returns>
    -+ 52         public System.Threading.Tasks.Task<UserActivity> AddAsync(UserActivity userActivity, CancellationToken cancellationToken)
      53         {
      54             this.ContentType = "application/json";
      55             this.Method = "POST";
      56             return this.SendAsync<UserActivity>(userActivity, cancellationToken);
      57         }
    = 58  
      59         /// <summary>
      60         /// Gets the collection page.
      61         /// </summary>
      62         /// <returns>The collection page.</returns>
    -+ 63         public System.Threading.Tasks.Task<IUserActivitiesCollectionPage> GetAsync()
      64         {
      65             return this.GetAsync(CancellationToken.None);
      66         }
    = 67  
      68         /// <summary>
      69         /// Gets the collection page.
      70         /// </summary>
      71         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      72         /// <returns>The collection page.</returns>
    -+ 73         public async System.Threading.Tasks.Task<IUserActivitiesCollectionPage> GetAsync(CancellationToken cancellationToken)
      74         {
      75             this.Method = "GET";
      76             var response = await this.SendAsync<UserActivitiesCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      77             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      78             {
      79                 if (response.AdditionalData != null)
      80                 {
      81                     object nextPageLink;
      82                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 83  
    -+ 84                     var nextPageLinkString = nextPageLink as string;
    = 85  
    -+ 86                     if (!string.IsNullOrEmpty(nextPageLinkString))
      87                     {
      88                         response.Value.InitializeNextPageRequest(
      89                             this.Client,
      90                             nextPageLinkString);
      91                     }
    = 92  
      93                     // Copy the additional data collection to the page itself so that information is not lost
    -+ 94                     response.Value.AdditionalData = response.AdditionalData;
      95                 }
    = 96  
    -+ 97                 return response.Value;
      98             }
    = 99  
    -+ 100             return null;
      101         }
    = 102  
      103         /// <summary>
      104         /// Adds the specified expand value to the request.
      105         /// </summary>
      106         /// <param name="value">The expand value.</param>
      107         /// <returns>The request object to send.</returns>
    -+ 108         public IUserActivitiesCollectionRequest Expand(string value)
      109         {
      110             this.QueryOptions.Add(new QueryOption("$expand", value));
      111             return this;
      112         }
    = 113  
      114         /// <summary>
      115         /// Adds the specified expand value to the request.
      116         /// </summary>
      117         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      118         /// <returns>The request object to send.</returns>
    -+ 119         public IUserActivitiesCollectionRequest Expand(Expression<Func<UserActivity, object>> expandExpression)
      120         {
      121             if (expandExpression == null)
      122             {
      123                 throw new ArgumentNullException(nameof(expandExpression));
      124             }
      125             string error;
      126             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      127             if (value == null)
      128             {
      129                 throw new ArgumentException(error, nameof(expandExpression));
      130             }
      131             else
      132             {
      133                 this.QueryOptions.Add(new QueryOption("$expand", value));
      134             }
      135             return this;
      136         }
    = 137  
      138         /// <summary>
      139         /// Adds the specified select value to the request.
      140         /// </summary>
      141         /// <param name="value">The select value.</param>
      142         /// <returns>The request object to send.</returns>
    -+ 143         public IUserActivitiesCollectionRequest Select(string value)
      144         {
      145             this.QueryOptions.Add(new QueryOption("$select", value));
      146             return this;
      147         }
    = 148  
      149         /// <summary>
      150         /// Adds the specified select value to the request.
      151         /// </summary>
      152         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      153         /// <returns>The request object to send.</returns>
    -+ 154         public IUserActivitiesCollectionRequest Select(Expression<Func<UserActivity, object>> selectExpression)
      155         {
      156             if (selectExpression == null)
      157             {
      158                 throw new ArgumentNullException(nameof(selectExpression));
      159             }
      160             string error;
      161             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      162             if (value == null)
      163             {
      164                 throw new ArgumentException(error, nameof(selectExpression));
      165             }
      166             else
      167             {
      168                 this.QueryOptions.Add(new QueryOption("$select", value));
      169             }
      170             return this;
      171         }
    = 172  
      173         /// <summary>
      174         /// Adds the specified top value to the request.
      175         /// </summary>
      176         /// <param name="value">The top value.</param>
      177         /// <returns>The request object to send.</returns>
    -+ 178         public IUserActivitiesCollectionRequest Top(int value)
      179         {
      180             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      181             return this;
      182         }
    = 183  
      184         /// <summary>
      185         /// Adds the specified filter value to the request.
      186         /// </summary>
      187         /// <param name="value">The filter value.</param>
      188         /// <returns>The request object to send.</returns>
    -+ 189         public IUserActivitiesCollectionRequest Filter(string value)
      190         {
      191             this.QueryOptions.Add(new QueryOption("$filter", value));
      192             return this;
      193         }
    = 194  
      195         /// <summary>
      196         /// Adds the specified skip value to the request.
      197         /// </summary>
      198         /// <param name="value">The skip value.</param>
      199         /// <returns>The request object to send.</returns>
    -+ 200         public IUserActivitiesCollectionRequest Skip(int value)
      201         {
      202             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      203             return this;
      204         }
    = 205  
      206         /// <summary>
      207         /// Adds the specified orderby value to the request.
      208         /// </summary>
      209         /// <param name="value">The orderby value.</param>
      210         /// <returns>The request object to send.</returns>
    -+ 211         public IUserActivitiesCollectionRequest OrderBy(string value)
      212         {
      213             this.QueryOptions.Add(new QueryOption("$orderby", value));
      214             return this;
      215         }
      216     }
      217 }

   
File: UserActivitiesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
      13     /// <summary>
      14     /// The type UserActivitiesCollectionPage.
      15     /// </summary>
    -+ 16     public partial class UserActivitiesCollectionPage : CollectionPage<UserActivity>, IUserActivitiesCollectionPage
      17     {
    = 18         /// <summary>
      19         /// Gets the next page <see cref="IUserActivitiesCollectionRequest"/> instance.
      20         /// </summary>
    -+ 21         public IUserActivitiesCollectionRequest NextPageRequest { get; private set; }
    = 22  
      23         /// <summary>
      24         /// Initializes the NextPageRequest property.
      25         /// </summary>
    -+ 26         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      27         {
      28             if (!string.IsNullOrEmpty(nextPageLinkString))
      29             {
      30                 this.NextPageRequest = new UserActivitiesCollectionRequest(
      31                     nextPageLinkString,
      32                     client,
      33                     null);
      34             }
      35         }
      36     }
      37 }

   
File: OutlookUserSupportedTimeZonesRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type OutlookUserSupportedTimeZonesRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class OutlookUserSupportedTimeZonesRequestBuilder : BaseFunctionMethodRequestBuilder<IOutlookUserSupportedTimeZonesRequest>, IOutlookUserSupportedTimeZonesRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Constructs a new <see cref="OutlookUserSupportedTimeZonesRequestBuilder"/>.
      22         /// </summary>
      23         /// <param name="requestUrl">The URL for the request.</param>
      24         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 25         public OutlookUserSupportedTimeZonesRequestBuilder(
      26             string requestUrl,
      27             IBaseClient client)
      28             : base(requestUrl, client)
      29         {
      30         }
    = 31  
      32         /// <summary>
      33         /// Constructs a new <see cref="OutlookUserSupportedTimeZonesRequestBuilder"/>.
      34         /// </summary>
      35         /// <param name="requestUrl">The URL for the request.</param>
      36         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      37         /// <param name="TimeZoneStandard">A TimeZoneStandard parameter for the OData method call.</param>
    -+ 38         public OutlookUserSupportedTimeZonesRequestBuilder(
      39             string requestUrl,
      40             IBaseClient client,
      41             TimeZoneStandard TimeZoneStandard)
      42             : base(requestUrl, client)
      43         {
      44             this.SetParameter("timeZoneStandard", TimeZoneStandard, false);
      45         }
    = 46  
      47         /// <summary>
      48         /// A method used by the base class to construct a request class instance.
      49         /// </summary>
      50         /// <param name="functionUrl">The request URL to </param>
      51         /// <param name="options">The query and header options for the request.</param>
      52         /// <returns>An instance of a specific request class.</returns>
    -+ 53         protected override IOutlookUserSupportedTimeZonesRequest CreateRequest(string functionUrl, IEnumerable<Option> options)
      54         {
      55             var request = new OutlookUserSupportedTimeZonesRequest(functionUrl, this.Client, options);
    = 56  
    -+ 57             return request;
      58         }
      59     }
      60 }

   
File: OutlookUserSupportedTimeZonesRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The type OutlookUserSupportedTimeZonesRequest.
      19     /// </summary>
    -+ 20     public partial class OutlookUserSupportedTimeZonesRequest : BaseRequest, IOutlookUserSupportedTimeZonesRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new OutlookUserSupportedTimeZonesRequest.
      24         /// </summary>
    -+ 25         public OutlookUserSupportedTimeZonesRequest(
      26             string requestUrl,
      27             IBaseClient client,
      28             IEnumerable<Option> options)
      29             : base(requestUrl, client, options)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Issues the GET request.
      35         /// </summary>
    -+ 36         public System.Threading.Tasks.Task<IOutlookUserSupportedTimeZonesCollectionPage> GetAsync()
      37         {
      38             return this.GetAsync(CancellationToken.None);
      39         }
    = 40  
      41         /// <summary>
      42         /// Issues the GET request.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await for async call.</returns>
    -+ 46         public async System.Threading.Tasks.Task<IOutlookUserSupportedTimeZonesCollectionPage> GetAsync(
      47             CancellationToken cancellationToken)
      48         {
      49             this.Method = "GET";
      50             var response = await this.SendAsync<OutlookUserSupportedTimeZonesCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      51             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      52             {
      53                 if (response.AdditionalData != null)
      54                 {
      55                     response.Value.AdditionalData = response.AdditionalData;
    = 56  
    -+ 57                     object nextPageLink;
      58                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 59  
    -+ 60                     var nextPageLinkString = nextPageLink as string;
    = 61  
    -+ 62                     if (!string.IsNullOrEmpty(nextPageLinkString))
      63                     {
      64                         response.Value.InitializeNextPageRequest(
      65                             this.Client,
      66                             nextPageLinkString);
      67                     }
      68                 }
    = 69  
    -+ 70                 return response.Value;
      71             }
    = 72  
    -+ 73             return null;
      74         }
    = 75  
      76  
      77         /// <summary>
      78         /// Adds the specified expand value to the request.
      79         /// </summary>
      80         /// <param name="value">The expand value.</param>
      81         /// <returns>The request object to send.</returns>
    -+ 82         public IOutlookUserSupportedTimeZonesRequest Expand(string value)
      83         {
      84             this.QueryOptions.Add(new QueryOption("$expand", value));
      85             return this;
      86         }
    = 87  
      88         /// <summary>
      89         /// Adds the specified select value to the request.
      90         /// </summary>
      91         /// <param name="value">The select value.</param>
      92         /// <returns>The request object to send.</returns>
    -+ 93         public IOutlookUserSupportedTimeZonesRequest Select(string value)
      94         {
      95             this.QueryOptions.Add(new QueryOption("$select", value));
      96             return this;
      97         }
    = 98  
      99         /// <summary>
      100         /// Adds the specified top value to the request.
      101         /// </summary>
      102         /// <param name="value">The top value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         public IOutlookUserSupportedTimeZonesRequest Top(int value)
      105         {
      106             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      107             return this;
      108         }
    = 109  
      110         /// <summary>
      111         /// Adds the specified filter value to the request.
      112         /// </summary>
      113         /// <param name="value">The filter value.</param>
      114         /// <returns>The request object to send.</returns>
    -+ 115         public IOutlookUserSupportedTimeZonesRequest Filter(string value)
      116         {
      117             this.QueryOptions.Add(new QueryOption("$filter", value));
      118             return this;
      119         }
    = 120  
      121         /// <summary>
      122         /// Adds the specified skip value to the request.
      123         /// </summary>
      124         /// <param name="value">The skip value.</param>
      125         /// <returns>The request object to send.</returns>
    -+ 126         public IOutlookUserSupportedTimeZonesRequest Skip(int value)
      127         {
      128             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      129             return this;
      130         }
    = 131  
      132         /// <summary>
      133         /// Adds the specified orderby value to the request.
      134         /// </summary>
      135         /// <param name="value">The orderby value.</param>
      136         /// <returns>The request object to send.</returns>
    -+ 137         public IOutlookUserSupportedTimeZonesRequest OrderBy(string value)
      138         {
      139             this.QueryOptions.Add(new QueryOption("$orderby", value));
      140             return this;
      141         }
      142     }
      143 }

   
File: OutlookUserSupportedTimeZonesCollectionResponse.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodCollectionResponse.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System.Collections.Generic;
      12     using System.Runtime.Serialization;
      13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The type OutlookUserSupportedTimeZonesCollectionResponse.
      17     /// </summary>
    -+ 18     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      19     public class OutlookUserSupportedTimeZonesCollectionResponse
      20     {
    = 21         /// <summary>
      22         /// Gets or sets the <see cref="IOutlookUserSupportedTimeZonesCollectionPage"/> value.
      23         /// </summary>
    -+ 24         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Required.Default)]
      25         public IOutlookUserSupportedTimeZonesCollectionPage Value { get; set; }
    = 26         
      27         /// <summary>
      28         /// Gets or sets additional data.
      29         /// </summary>
    -+ 30         [JsonExtensionData(ReadData = true)]
      31         public IDictionary<string, object> AdditionalData { get; set; }
      32     }
      33 }

   
File: OutlookUserSupportedTimeZonesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
    = 11     /// <summary>
      12     /// The type OutlookUserSupportedTimeZonesCollectionPage.
      13     /// </summary>
    -+ 14     public partial class OutlookUserSupportedTimeZonesCollectionPage : CollectionPage<TimeZoneInformation>, IOutlookUserSupportedTimeZonesCollectionPage
      15     {
    = 16         /// <summary>
      17         /// Gets the next page <see cref="IOutlookUserSupportedTimeZonesRequest"/> instance.
      18         /// </summary>
    -+ 19         public IOutlookUserSupportedTimeZonesRequest NextPageRequest { get; private set; }
    = 20  
      21         /// <summary>
      22         /// Initializes the NextPageRequest property.
      23         /// </summary>
    -+ 24         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      25         {
      26             if (!string.IsNullOrEmpty(nextPageLinkString))
      27             {
      28                 this.NextPageRequest = new OutlookUserSupportedTimeZonesRequest(
      29                     nextPageLinkString,
      30                     client,
      31                     null);
      32             }
      33         }
      34     }
      35 }

   
File: OutlookUserSupportedLanguagesRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type OutlookUserSupportedLanguagesRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class OutlookUserSupportedLanguagesRequestBuilder : BaseFunctionMethodRequestBuilder<IOutlookUserSupportedLanguagesRequest>, IOutlookUserSupportedLanguagesRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Constructs a new <see cref="OutlookUserSupportedLanguagesRequestBuilder"/>.
      22         /// </summary>
      23         /// <param name="requestUrl">The URL for the request.</param>
      24         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 25         public OutlookUserSupportedLanguagesRequestBuilder(
      26             string requestUrl,
      27             IBaseClient client)
      28             : base(requestUrl, client)
      29         {
      30         }
    = 31  
      32         /// <summary>
      33         /// A method used by the base class to construct a request class instance.
      34         /// </summary>
      35         /// <param name="functionUrl">The request URL to </param>
      36         /// <param name="options">The query and header options for the request.</param>
      37         /// <returns>An instance of a specific request class.</returns>
    -+ 38         protected override IOutlookUserSupportedLanguagesRequest CreateRequest(string functionUrl, IEnumerable<Option> options)
      39         {
      40             var request = new OutlookUserSupportedLanguagesRequest(functionUrl, this.Client, options);
    = 41  
    -+ 42             return request;
      43         }
      44     }
      45 }

   
File: OutlookUserSupportedLanguagesRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The type OutlookUserSupportedLanguagesRequest.
      19     /// </summary>
    -+ 20     public partial class OutlookUserSupportedLanguagesRequest : BaseRequest, IOutlookUserSupportedLanguagesRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new OutlookUserSupportedLanguagesRequest.
      24         /// </summary>
    -+ 25         public OutlookUserSupportedLanguagesRequest(
      26             string requestUrl,
      27             IBaseClient client,
      28             IEnumerable<Option> options)
      29             : base(requestUrl, client, options)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Issues the GET request.
      35         /// </summary>
    -+ 36         public System.Threading.Tasks.Task<IOutlookUserSupportedLanguagesCollectionPage> GetAsync()
      37         {
      38             return this.GetAsync(CancellationToken.None);
      39         }
    = 40  
      41         /// <summary>
      42         /// Issues the GET request.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await for async call.</returns>
    -+ 46         public async System.Threading.Tasks.Task<IOutlookUserSupportedLanguagesCollectionPage> GetAsync(
      47             CancellationToken cancellationToken)
      48         {
      49             this.Method = "GET";
      50             var response = await this.SendAsync<OutlookUserSupportedLanguagesCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      51             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      52             {
      53                 if (response.AdditionalData != null)
      54                 {
      55                     response.Value.AdditionalData = response.AdditionalData;
    = 56  
    -+ 57                     object nextPageLink;
      58                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 59  
    -+ 60                     var nextPageLinkString = nextPageLink as string;
    = 61  
    -+ 62                     if (!string.IsNullOrEmpty(nextPageLinkString))
      63                     {
      64                         response.Value.InitializeNextPageRequest(
      65                             this.Client,
      66                             nextPageLinkString);
      67                     }
      68                 }
    = 69  
    -+ 70                 return response.Value;
      71             }
    = 72  
    -+ 73             return null;
      74         }
    = 75  
      76  
      77         /// <summary>
      78         /// Adds the specified expand value to the request.
      79         /// </summary>
      80         /// <param name="value">The expand value.</param>
      81         /// <returns>The request object to send.</returns>
    -+ 82         public IOutlookUserSupportedLanguagesRequest Expand(string value)
      83         {
      84             this.QueryOptions.Add(new QueryOption("$expand", value));
      85             return this;
      86         }
    = 87  
      88         /// <summary>
      89         /// Adds the specified select value to the request.
      90         /// </summary>
      91         /// <param name="value">The select value.</param>
      92         /// <returns>The request object to send.</returns>
    -+ 93         public IOutlookUserSupportedLanguagesRequest Select(string value)
      94         {
      95             this.QueryOptions.Add(new QueryOption("$select", value));
      96             return this;
      97         }
    = 98  
      99         /// <summary>
      100         /// Adds the specified top value to the request.
      101         /// </summary>
      102         /// <param name="value">The top value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         public IOutlookUserSupportedLanguagesRequest Top(int value)
      105         {
      106             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      107             return this;
      108         }
    = 109  
      110         /// <summary>
      111         /// Adds the specified filter value to the request.
      112         /// </summary>
      113         /// <param name="value">The filter value.</param>
      114         /// <returns>The request object to send.</returns>
    -+ 115         public IOutlookUserSupportedLanguagesRequest Filter(string value)
      116         {
      117             this.QueryOptions.Add(new QueryOption("$filter", value));
      118             return this;
      119         }
    = 120  
      121         /// <summary>
      122         /// Adds the specified skip value to the request.
      123         /// </summary>
      124         /// <param name="value">The skip value.</param>
      125         /// <returns>The request object to send.</returns>
    -+ 126         public IOutlookUserSupportedLanguagesRequest Skip(int value)
      127         {
      128             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      129             return this;
      130         }
    = 131  
      132         /// <summary>
      133         /// Adds the specified orderby value to the request.
      134         /// </summary>
      135         /// <param name="value">The orderby value.</param>
      136         /// <returns>The request object to send.</returns>
    -+ 137         public IOutlookUserSupportedLanguagesRequest OrderBy(string value)
      138         {
      139             this.QueryOptions.Add(new QueryOption("$orderby", value));
      140             return this;
      141         }
      142     }
      143 }

   
File: OutlookUserSupportedLanguagesCollectionResponse.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodCollectionResponse.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System.Collections.Generic;
      12     using System.Runtime.Serialization;
      13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The type OutlookUserSupportedLanguagesCollectionResponse.
      17     /// </summary>
    -+ 18     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      19     public class OutlookUserSupportedLanguagesCollectionResponse
      20     {
    = 21         /// <summary>
      22         /// Gets or sets the <see cref="IOutlookUserSupportedLanguagesCollectionPage"/> value.
      23         /// </summary>
    -+ 24         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Required.Default)]
      25         public IOutlookUserSupportedLanguagesCollectionPage Value { get; set; }
    = 26         
      27         /// <summary>
      28         /// Gets or sets additional data.
      29         /// </summary>
    -+ 30         [JsonExtensionData(ReadData = true)]
      31         public IDictionary<string, object> AdditionalData { get; set; }
      32     }
      33 }

   
File: OutlookUserSupportedLanguagesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
    = 11     /// <summary>
      12     /// The type OutlookUserSupportedLanguagesCollectionPage.
      13     /// </summary>
    -+ 14     public partial class OutlookUserSupportedLanguagesCollectionPage : CollectionPage<LocaleInfo>, IOutlookUserSupportedLanguagesCollectionPage
      15     {
    = 16         /// <summary>
      17         /// Gets the next page <see cref="IOutlookUserSupportedLanguagesRequest"/> instance.
      18         /// </summary>
    -+ 19         public IOutlookUserSupportedLanguagesRequest NextPageRequest { get; private set; }
    = 20  
      21         /// <summary>
      22         /// Initializes the NextPageRequest property.
      23         /// </summary>
    -+ 24         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      25         {
      26             if (!string.IsNullOrEmpty(nextPageLinkString))
      27             {
      28                 this.NextPageRequest = new OutlookUserSupportedLanguagesRequest(
      29                     nextPageLinkString,
      30                     client,
      31                     null);
      32             }
      33         }
      34     }
      35 }

   
File: OutlookUserRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type OutlookUserRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class OutlookUserRequestBuilder : EntityRequestBuilder, IOutlookUserRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new OutlookUserRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public OutlookUserRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IOutlookUserRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IOutlookUserRequest Request(IEnumerable<Option> options)
      48         {
      49             return new OutlookUserRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
      52         /// <summary>
      53         /// Gets the request builder for MasterCategories.
      54         /// </summary>
      55         /// <returns>The <see cref="IOutlookUserMasterCategoriesCollectionRequestBuilder"/>.</returns>
    -+ 56         public IOutlookUserMasterCategoriesCollectionRequestBuilder MasterCategories
      57         {
      58             get
      59             {
      60                 return new OutlookUserMasterCategoriesCollectionRequestBuilder(this.AppendSegmentToRequestUrl("masterCategories"), this.Client);
      61             }
      62         }
    = 63     
      64         /// <summary>
      65         /// Gets the request builder for OutlookUserSupportedLanguages.
      66         /// </summary>
      67         /// <returns>The <see cref="IOutlookUserSupportedLanguagesRequestBuilder"/>.</returns>
    -+ 68         public IOutlookUserSupportedLanguagesRequestBuilder SupportedLanguages()
      69         {
      70             return new OutlookUserSupportedLanguagesRequestBuilder(
      71                 this.AppendSegmentToRequestUrl("microsoft.graph.supportedLanguages"),
      72                 this.Client);
      73         }
    = 74  
      75         /// <summary>
      76         /// Gets the request builder for OutlookUserSupportedTimeZones.
      77         /// </summary>
      78         /// <returns>The <see cref="IOutlookUserSupportedTimeZonesRequestBuilder"/>.</returns>
    -+ 79         public IOutlookUserSupportedTimeZonesRequestBuilder SupportedTimeZones()
      80         {
      81             return new OutlookUserSupportedTimeZonesRequestBuilder(
      82                 this.AppendSegmentToRequestUrl("microsoft.graph.supportedTimeZones"),
      83                 this.Client);
      84         }
    = 85  
      86         /// <summary>
      87         /// Gets the request builder for OutlookUserSupportedTimeZones.
      88         /// </summary>
      89         /// <returns>The <see cref="IOutlookUserSupportedTimeZonesRequestBuilder"/>.</returns>
    -+ 90         public IOutlookUserSupportedTimeZonesRequestBuilder SupportedTimeZones(
      91             TimeZoneStandard TimeZoneStandard)
      92         {
      93             return new OutlookUserSupportedTimeZonesRequestBuilder(
      94                 this.AppendSegmentToRequestUrl("microsoft.graph.supportedTimeZones"),
      95                 this.Client,
      96                 TimeZoneStandard);
      97         }
    = 98     
    -+ 99     }
      100 }

   
File: OutlookUserRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type OutlookUserRequest.
      20     /// </summary>
    -+ 21     public partial class OutlookUserRequest : BaseRequest, IOutlookUserRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new OutlookUserRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public OutlookUserRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified OutlookUser using POST.
      39         /// </summary>
      40         /// <param name="outlookUserToCreate">The OutlookUser to create.</param>
      41         /// <returns>The created OutlookUser.</returns>
    -+ 42         public System.Threading.Tasks.Task<OutlookUser> CreateAsync(OutlookUser outlookUserToCreate)
      43         {
      44             return this.CreateAsync(outlookUserToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified OutlookUser using POST.
      49         /// </summary>
      50         /// <param name="outlookUserToCreate">The OutlookUser to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created OutlookUser.</returns>
    -+ 53         public async System.Threading.Tasks.Task<OutlookUser> CreateAsync(OutlookUser outlookUserToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<OutlookUser>(outlookUserToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified OutlookUser.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified OutlookUser.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<OutlookUser>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified OutlookUser.
      84         /// </summary>
      85         /// <returns>The OutlookUser.</returns>
    -+ 86         public System.Threading.Tasks.Task<OutlookUser> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified OutlookUser.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The OutlookUser.</returns>
    -+ 96         public async System.Threading.Tasks.Task<OutlookUser> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<OutlookUser>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified OutlookUser using PATCH.
      106         /// </summary>
      107         /// <param name="outlookUserToUpdate">The OutlookUser to update.</param>
      108         /// <returns>The updated OutlookUser.</returns>
    -+ 109         public System.Threading.Tasks.Task<OutlookUser> UpdateAsync(OutlookUser outlookUserToUpdate)
      110         {
      111             return this.UpdateAsync(outlookUserToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified OutlookUser using PATCH.
      116         /// </summary>
      117         /// <param name="outlookUserToUpdate">The OutlookUser to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated OutlookUser.</returns>
    -+ 120         public async System.Threading.Tasks.Task<OutlookUser> UpdateAsync(OutlookUser outlookUserToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<OutlookUser>(outlookUserToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IOutlookUserRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IOutlookUserRequest Expand(Expression<Func<OutlookUser, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IOutlookUserRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IOutlookUserRequest Select(Expression<Func<OutlookUser, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="outlookUserToInitialize">The <see cref="OutlookUser"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(OutlookUser outlookUserToInitialize)
      204         {
    = 205  
    -+ 206             if (outlookUserToInitialize != null && outlookUserToInitialize.AdditionalData != null)
      207             {
    = 208  
    -+ 209                 if (outlookUserToInitialize.MasterCategories != null && outlookUserToInitialize.MasterCategories.CurrentPage != null)
      210                 {
      211                     outlookUserToInitialize.MasterCategories.AdditionalData = outlookUserToInitialize.AdditionalData;
    = 212  
    -+ 213                     object nextPageLink;
      214                     outlookUserToInitialize.AdditionalData.TryGetValue("masterCategories@odata.nextLink", out nextPageLink);
      215                     var nextPageLinkString = nextPageLink as string;
    = 216  
    -+ 217                     if (!string.IsNullOrEmpty(nextPageLinkString))
      218                     {
      219                         outlookUserToInitialize.MasterCategories.InitializeNextPageRequest(
      220                             this.Client,
      221                             nextPageLinkString);
      222                     }
      223                 }
    = 224  
    -+ 225             }
    = 226  
      227  
    -+ 228         }
      229     }
      230 }

   
File: OutlookUserMasterCategoriesCollectionResponse.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionResponse.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System.Collections.Generic;
      11     using System.Runtime.Serialization;
      12     using Newtonsoft.Json;
    = 13  
      14     /// <summary>
      15     /// The type OutlookUserMasterCategoriesCollectionResponse.
      16     /// </summary>
    -+ 17     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      18     public class OutlookUserMasterCategoriesCollectionResponse
      19     {
    = 20         /// <summary>
      21         /// Gets or sets the <see cref="IOutlookUserMasterCategoriesCollectionPage"/> value.
      22         /// </summary>
    -+ 23         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Newtonsoft.Json.Required.Default)]
      24         public IOutlookUserMasterCategoriesCollectionPage Value { get; set; }
    = 25  
      26         /// <summary>
      27         /// Gets or sets additional data.
      28         /// </summary>
    -+ 29         [JsonExtensionData(ReadData = true)]
      30         public IDictionary<string, object> AdditionalData { get; set; }
      31     }
      32 }

   
File: OutlookUserMasterCategoriesCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The type OutlookUserMasterCategoriesCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial class OutlookUserMasterCategoriesCollectionRequestBuilder : BaseRequestBuilder, IOutlookUserMasterCategoriesCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Constructs a new OutlookUserMasterCategoriesCollectionRequestBuilder.
      20         /// </summary>
      21         /// <param name="requestUrl">The URL for the built request.</param>
      22         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 23         public OutlookUserMasterCategoriesCollectionRequestBuilder(
      24             string requestUrl,
      25             IBaseClient client)
      26             : base(requestUrl, client)
      27         {
      28         }
    = 29  
      30         /// <summary>
      31         /// Builds the request.
      32         /// </summary>
      33         /// <returns>The built request.</returns>
    -+ 34         public IOutlookUserMasterCategoriesCollectionRequest Request()
      35         {
      36             return this.Request(null);
      37         }
    = 38  
      39         /// <summary>
      40         /// Builds the request.
      41         /// </summary>
      42         /// <param name="options">The query and header options for the request.</param>
      43         /// <returns>The built request.</returns>
    -+ 44         public IOutlookUserMasterCategoriesCollectionRequest Request(IEnumerable<Option> options)
      45         {
      46             return new OutlookUserMasterCategoriesCollectionRequest(this.RequestUrl, this.Client, options);
      47         }
    = 48  
      49         /// <summary>
      50         /// Gets an <see cref="IOutlookCategoryRequestBuilder"/> for the specified OutlookUserOutlookCategory.
      51         /// </summary>
      52         /// <param name="id">The ID for the OutlookUserOutlookCategory.</param>
      53         /// <returns>The <see cref="IOutlookCategoryRequestBuilder"/>.</returns>
    -+ 54         public IOutlookCategoryRequestBuilder this[string id]
      55         {
      56             get
      57             {
      58                 return new OutlookCategoryRequestBuilder(this.AppendSegmentToRequestUrl(id), this.Client);
      59             }
      60         }
    = 61  
      62         
    -+ 63     }
      64 }

   
File: OutlookUserMasterCategoriesCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The type OutlookUserMasterCategoriesCollectionRequest.
      19     /// </summary>
    -+ 20     public partial class OutlookUserMasterCategoriesCollectionRequest : BaseRequest, IOutlookUserMasterCategoriesCollectionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new OutlookUserMasterCategoriesCollectionRequest.
      24         /// </summary>
      25         /// <param name="requestUrl">The URL for the built request.</param>
      26         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      27         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 28         public OutlookUserMasterCategoriesCollectionRequest(
      29             string requestUrl,
      30             IBaseClient client,
      31             IEnumerable<Option> options)
      32             : base(requestUrl, client, options)
      33         {
      34         }
    = 35         
      36         /// <summary>
      37         /// Adds the specified OutlookCategory to the collection via POST.
      38         /// </summary>
      39         /// <param name="outlookCategory">The OutlookCategory to add.</param>
      40         /// <returns>The created OutlookCategory.</returns>
    -+ 41         public System.Threading.Tasks.Task<OutlookCategory> AddAsync(OutlookCategory outlookCategory)
      42         {
      43             return this.AddAsync(outlookCategory, CancellationToken.None);
      44         }
    = 45  
      46         /// <summary>
      47         /// Adds the specified OutlookCategory to the collection via POST.
      48         /// </summary>
      49         /// <param name="outlookCategory">The OutlookCategory to add.</param>
      50         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      51         /// <returns>The created OutlookCategory.</returns>
    -+ 52         public System.Threading.Tasks.Task<OutlookCategory> AddAsync(OutlookCategory outlookCategory, CancellationToken cancellationToken)
      53         {
      54             this.ContentType = "application/json";
      55             this.Method = "POST";
      56             return this.SendAsync<OutlookCategory>(outlookCategory, cancellationToken);
      57         }
    = 58  
      59         /// <summary>
      60         /// Gets the collection page.
      61         /// </summary>
      62         /// <returns>The collection page.</returns>
    -+ 63         public System.Threading.Tasks.Task<IOutlookUserMasterCategoriesCollectionPage> GetAsync()
      64         {
      65             return this.GetAsync(CancellationToken.None);
      66         }
    = 67  
      68         /// <summary>
      69         /// Gets the collection page.
      70         /// </summary>
      71         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      72         /// <returns>The collection page.</returns>
    -+ 73         public async System.Threading.Tasks.Task<IOutlookUserMasterCategoriesCollectionPage> GetAsync(CancellationToken cancellationToken)
      74         {
      75             this.Method = "GET";
      76             var response = await this.SendAsync<OutlookUserMasterCategoriesCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      77             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      78             {
      79                 if (response.AdditionalData != null)
      80                 {
      81                     object nextPageLink;
      82                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 83  
    -+ 84                     var nextPageLinkString = nextPageLink as string;
    = 85  
    -+ 86                     if (!string.IsNullOrEmpty(nextPageLinkString))
      87                     {
      88                         response.Value.InitializeNextPageRequest(
      89                             this.Client,
      90                             nextPageLinkString);
      91                     }
    = 92  
      93                     // Copy the additional data collection to the page itself so that information is not lost
    -+ 94                     response.Value.AdditionalData = response.AdditionalData;
      95                 }
    = 96  
    -+ 97                 return response.Value;
      98             }
    = 99  
    -+ 100             return null;
      101         }
    = 102  
      103         /// <summary>
      104         /// Adds the specified expand value to the request.
      105         /// </summary>
      106         /// <param name="value">The expand value.</param>
      107         /// <returns>The request object to send.</returns>
    -+ 108         public IOutlookUserMasterCategoriesCollectionRequest Expand(string value)
      109         {
      110             this.QueryOptions.Add(new QueryOption("$expand", value));
      111             return this;
      112         }
    = 113  
      114         /// <summary>
      115         /// Adds the specified expand value to the request.
      116         /// </summary>
      117         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      118         /// <returns>The request object to send.</returns>
    -+ 119         public IOutlookUserMasterCategoriesCollectionRequest Expand(Expression<Func<OutlookCategory, object>> expandExpression)
      120         {
      121             if (expandExpression == null)
      122             {
      123                 throw new ArgumentNullException(nameof(expandExpression));
      124             }
      125             string error;
      126             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      127             if (value == null)
      128             {
      129                 throw new ArgumentException(error, nameof(expandExpression));
      130             }
      131             else
      132             {
      133                 this.QueryOptions.Add(new QueryOption("$expand", value));
      134             }
      135             return this;
      136         }
    = 137  
      138         /// <summary>
      139         /// Adds the specified select value to the request.
      140         /// </summary>
      141         /// <param name="value">The select value.</param>
      142         /// <returns>The request object to send.</returns>
    -+ 143         public IOutlookUserMasterCategoriesCollectionRequest Select(string value)
      144         {
      145             this.QueryOptions.Add(new QueryOption("$select", value));
      146             return this;
      147         }
    = 148  
      149         /// <summary>
      150         /// Adds the specified select value to the request.
      151         /// </summary>
      152         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      153         /// <returns>The request object to send.</returns>
    -+ 154         public IOutlookUserMasterCategoriesCollectionRequest Select(Expression<Func<OutlookCategory, object>> selectExpression)
      155         {
      156             if (selectExpression == null)
      157             {
      158                 throw new ArgumentNullException(nameof(selectExpression));
      159             }
      160             string error;
      161             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      162             if (value == null)
      163             {
      164                 throw new ArgumentException(error, nameof(selectExpression));
      165             }
      166             else
      167             {
      168                 this.QueryOptions.Add(new QueryOption("$select", value));
      169             }
      170             return this;
      171         }
    = 172  
      173         /// <summary>
      174         /// Adds the specified top value to the request.
      175         /// </summary>
      176         /// <param name="value">The top value.</param>
      177         /// <returns>The request object to send.</returns>
    -+ 178         public IOutlookUserMasterCategoriesCollectionRequest Top(int value)
      179         {
      180             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      181             return this;
      182         }
    = 183  
      184         /// <summary>
      185         /// Adds the specified filter value to the request.
      186         /// </summary>
      187         /// <param name="value">The filter value.</param>
      188         /// <returns>The request object to send.</returns>
    -+ 189         public IOutlookUserMasterCategoriesCollectionRequest Filter(string value)
      190         {
      191             this.QueryOptions.Add(new QueryOption("$filter", value));
      192             return this;
      193         }
    = 194  
      195         /// <summary>
      196         /// Adds the specified skip value to the request.
      197         /// </summary>
      198         /// <param name="value">The skip value.</param>
      199         /// <returns>The request object to send.</returns>
    -+ 200         public IOutlookUserMasterCategoriesCollectionRequest Skip(int value)
      201         {
      202             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      203             return this;
      204         }
    = 205  
      206         /// <summary>
      207         /// Adds the specified orderby value to the request.
      208         /// </summary>
      209         /// <param name="value">The orderby value.</param>
      210         /// <returns>The request object to send.</returns>
    -+ 211         public IOutlookUserMasterCategoriesCollectionRequest OrderBy(string value)
      212         {
      213             this.QueryOptions.Add(new QueryOption("$orderby", value));
      214             return this;
      215         }
      216     }
      217 }

   
File: OutlookUserMasterCategoriesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
      13     /// <summary>
      14     /// The type OutlookUserMasterCategoriesCollectionPage.
      15     /// </summary>
    -+ 16     public partial class OutlookUserMasterCategoriesCollectionPage : CollectionPage<OutlookCategory>, IOutlookUserMasterCategoriesCollectionPage
      17     {
    = 18         /// <summary>
      19         /// Gets the next page <see cref="IOutlookUserMasterCategoriesCollectionRequest"/> instance.
      20         /// </summary>
    -+ 21         public IOutlookUserMasterCategoriesCollectionRequest NextPageRequest { get; private set; }
    = 22  
      23         /// <summary>
      24         /// Initializes the NextPageRequest property.
      25         /// </summary>
    -+ 26         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      27         {
      28             if (!string.IsNullOrEmpty(nextPageLinkString))
      29             {
      30                 this.NextPageRequest = new OutlookUserMasterCategoriesCollectionRequest(
      31                     nextPageLinkString,
      32                     client,
      33                     null);
      34             }
      35         }
      36     }
      37 }

   
File: OutlookCategoryRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type OutlookCategoryRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class OutlookCategoryRequestBuilder : EntityRequestBuilder, IOutlookCategoryRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new OutlookCategoryRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public OutlookCategoryRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IOutlookCategoryRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IOutlookCategoryRequest Request(IEnumerable<Option> options)
      48         {
      49             return new OutlookCategoryRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
    -+ 52     }
      53 }

   
File: OutlookCategoryRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type OutlookCategoryRequest.
      20     /// </summary>
    -+ 21     public partial class OutlookCategoryRequest : BaseRequest, IOutlookCategoryRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new OutlookCategoryRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public OutlookCategoryRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified OutlookCategory using POST.
      39         /// </summary>
      40         /// <param name="outlookCategoryToCreate">The OutlookCategory to create.</param>
      41         /// <returns>The created OutlookCategory.</returns>
    -+ 42         public System.Threading.Tasks.Task<OutlookCategory> CreateAsync(OutlookCategory outlookCategoryToCreate)
      43         {
      44             return this.CreateAsync(outlookCategoryToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified OutlookCategory using POST.
      49         /// </summary>
      50         /// <param name="outlookCategoryToCreate">The OutlookCategory to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created OutlookCategory.</returns>
    -+ 53         public async System.Threading.Tasks.Task<OutlookCategory> CreateAsync(OutlookCategory outlookCategoryToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<OutlookCategory>(outlookCategoryToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified OutlookCategory.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified OutlookCategory.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<OutlookCategory>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified OutlookCategory.
      84         /// </summary>
      85         /// <returns>The OutlookCategory.</returns>
    -+ 86         public System.Threading.Tasks.Task<OutlookCategory> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified OutlookCategory.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The OutlookCategory.</returns>
    -+ 96         public async System.Threading.Tasks.Task<OutlookCategory> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<OutlookCategory>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified OutlookCategory using PATCH.
      106         /// </summary>
      107         /// <param name="outlookCategoryToUpdate">The OutlookCategory to update.</param>
      108         /// <returns>The updated OutlookCategory.</returns>
    -+ 109         public System.Threading.Tasks.Task<OutlookCategory> UpdateAsync(OutlookCategory outlookCategoryToUpdate)
      110         {
      111             return this.UpdateAsync(outlookCategoryToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified OutlookCategory using PATCH.
      116         /// </summary>
      117         /// <param name="outlookCategoryToUpdate">The OutlookCategory to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated OutlookCategory.</returns>
    -+ 120         public async System.Threading.Tasks.Task<OutlookCategory> UpdateAsync(OutlookCategory outlookCategoryToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<OutlookCategory>(outlookCategoryToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IOutlookCategoryRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IOutlookCategoryRequest Expand(Expression<Func<OutlookCategory, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IOutlookCategoryRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IOutlookCategoryRequest Select(Expression<Func<OutlookCategory, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="outlookCategoryToInitialize">The <see cref="OutlookCategory"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(OutlookCategory outlookCategoryToInitialize)
      204         {
    = 205  
    -+ 206         }
      207     }
      208 }

   
File: OnenoteSectionRequestBuilder.cs  
89         /// Gets the request builder for OnenoteSectionCopyToNotebook. = 89         /// Gets the request builder for OnenoteSectionCopyToNotebook.
90         /// </summary>   90         /// </summary>
91         /// <returns>The <see cref="IOnenoteSectionCopyToNotebookRequestBuilder"/>.</returns>   91         /// <returns>The <see cref="IOnenoteSectionCopyToNotebookRequestBuilder"/>.</returns>
92         public IOnenoteSectionCopyToNotebookRequestBuilder CopyToNotebook(   92         public IOnenoteSectionCopyToNotebookRequestBuilder CopyToNotebook(
93             string id = null,   93             string id = null,
94             string groupId = null,   94             string groupId = null,
95             string renameAs = null) <> 95             string renameAs = null,
      96             string siteCollectionId = null,
      97             string siteId = null)
96         { = 98         {
97             return new OnenoteSectionCopyToNotebookRequestBuilder(   99             return new OnenoteSectionCopyToNotebookRequestBuilder(
98                 this.AppendSegmentToRequestUrl("microsoft.graph.copyToNotebook"),   100                 this.AppendSegmentToRequestUrl("microsoft.graph.copyToNotebook"),
99                 this.Client,   101                 this.Client,
100                 id,   102                 id,
101                 groupId,   103                 groupId,
102                 renameAs); <> 104                 renameAs,
      105                 siteCollectionId,
      106                 siteId);
103         } = 107         }
104     108  
105         /// <summary>   109         /// <summary>
106         /// Gets the request builder for OnenoteSectionCopyToSectionGroup.   110         /// Gets the request builder for OnenoteSectionCopyToSectionGroup.
107         /// </summary>   111         /// </summary>
108         /// <returns>The <see cref="IOnenoteSectionCopyToSectionGroupRequestBuilder"/>.</returns>   112         /// <returns>The <see cref="IOnenoteSectionCopyToSectionGroupRequestBuilder"/>.</returns>
109         public IOnenoteSectionCopyToSectionGroupRequestBuilder CopyToSectionGroup(   113         public IOnenoteSectionCopyToSectionGroupRequestBuilder CopyToSectionGroup(
110             string id = null,   114             string id = null,
111             string groupId = null,   115             string groupId = null,
112             string renameAs = null) <> 116             string renameAs = null,
      117             string siteCollectionId = null,
      118             string siteId = null)
113         { = 119         {
114             return new OnenoteSectionCopyToSectionGroupRequestBuilder(   120             return new OnenoteSectionCopyToSectionGroupRequestBuilder(
115                 this.AppendSegmentToRequestUrl("microsoft.graph.copyToSectionGroup"),   121                 this.AppendSegmentToRequestUrl("microsoft.graph.copyToSectionGroup"),
116                 this.Client,   122                 this.Client,
117                 id,   123                 id,
118                 groupId,   124                 groupId,
119                 renameAs); <> 125                 renameAs,
      126                 siteCollectionId,
      127                 siteId);
120         } = 128         }
121        129     
122     }   130     }
123 }   131 }

   
File: OnenoteSectionCopyToSectionGroupRequestBuilder.cs  
    = 29         /// <param name="siteId">A siteId parameter for the OData method call.</param>
28         public OnenoteSectionCopyToSectionGroupRequestBuilder(   30         public OnenoteSectionCopyToSectionGroupRequestBuilder(
29             string requestUrl,   31             string requestUrl,
30             IBaseClient client,   32             IBaseClient client,
31             string id,   33             string id,
32             string groupId,   34             string groupId,
33             string renameAs) <> 35             string renameAs,
      36             string siteCollectionId,
      37             string siteId)
34             : base(requestUrl, client) = 38             : base(requestUrl, client)
35         {   39         {
36             this.SetParameter("id", id, true);   40             this.SetParameter("id", id, true);
37             this.SetParameter("groupId", groupId, true);   41             this.SetParameter("groupId", groupId, true);
38             this.SetParameter("renameAs", renameAs, true);   42             this.SetParameter("renameAs", renameAs, true);
    -+ 43             this.SetParameter("siteCollectionId", siteCollectionId, true);
      44             this.SetParameter("siteId", siteId, true);
39         } = 45         }
40     46  
41         /// <summary>   47         /// <summary>
42         /// A method used by the base class to construct a request class instance.   48         /// A method used by the base class to construct a request class instance.
43         /// </summary>   49         /// </summary>
44         /// <param name="functionUrl">The request URL to </param>   50         /// <param name="functionUrl">The request URL to </param>
 
60   = 66  
61             if (this.HasParameter("renameAs"))   67             if (this.HasParameter("renameAs"))
62             {   68             {
63                 request.RequestBody.RenameAs = this.GetParameter<string>("renameAs");   69                 request.RequestBody.RenameAs = this.GetParameter<string>("renameAs");
64             }   70             }
65     71  
    -+ 72             if (this.HasParameter("siteCollectionId"))
      73             {
      74                 request.RequestBody.SiteCollectionId = this.GetParameter<string>("siteCollectionId");
      75             }
    = 76  
    -+ 77             if (this.HasParameter("siteId"))
      78             {
      79                 request.RequestBody.SiteId = this.GetParameter<string>("siteId");
      80             }
    = 81  
66             return request;   82             return request;
67         }   83         }
68     }   84     }
69 }   85 }

   
File: OnenoteSectionCopyToNotebookRequestBuilder.cs  
    = 29         /// <param name="siteId">A siteId parameter for the OData method call.</param>
28         public OnenoteSectionCopyToNotebookRequestBuilder(   30         public OnenoteSectionCopyToNotebookRequestBuilder(
29             string requestUrl,   31             string requestUrl,
30             IBaseClient client,   32             IBaseClient client,
31             string id,   33             string id,
32             string groupId,   34             string groupId,
33             string renameAs) <> 35             string renameAs,
      36             string siteCollectionId,
      37             string siteId)
34             : base(requestUrl, client) = 38             : base(requestUrl, client)
35         {   39         {
36             this.SetParameter("id", id, true);   40             this.SetParameter("id", id, true);
37             this.SetParameter("groupId", groupId, true);   41             this.SetParameter("groupId", groupId, true);
38             this.SetParameter("renameAs", renameAs, true);   42             this.SetParameter("renameAs", renameAs, true);
    -+ 43             this.SetParameter("siteCollectionId", siteCollectionId, true);
      44             this.SetParameter("siteId", siteId, true);
39         } = 45         }
40     46  
41         /// <summary>   47         /// <summary>
42         /// A method used by the base class to construct a request class instance.   48         /// A method used by the base class to construct a request class instance.
43         /// </summary>   49         /// </summary>
44         /// <param name="functionUrl">The request URL to </param>   50         /// <param name="functionUrl">The request URL to </param>
 
60   = 66  
61             if (this.HasParameter("renameAs"))   67             if (this.HasParameter("renameAs"))
62             {   68             {
63                 request.RequestBody.RenameAs = this.GetParameter<string>("renameAs");   69                 request.RequestBody.RenameAs = this.GetParameter<string>("renameAs");
64             }   70             }
65     71  
    -+ 72             if (this.HasParameter("siteCollectionId"))
      73             {
      74                 request.RequestBody.SiteCollectionId = this.GetParameter<string>("siteCollectionId");
      75             }
    = 76  
    -+ 77             if (this.HasParameter("siteId"))
      78             {
      79                 request.RequestBody.SiteId = this.GetParameter<string>("siteId");
      80             }
    = 81  
66             return request;   82             return request;
67         }   83         }
68     }   84     }
69 }   85 }

   
File: OnenotePageRequestBuilder.cs  
101         /// <summary> = 101         /// <summary>
102         /// Gets the request builder for OnenotePageCopyToSection.   102         /// Gets the request builder for OnenotePageCopyToSection.
103         /// </summary>   103         /// </summary>
104         /// <returns>The <see cref="IOnenotePageCopyToSectionRequestBuilder"/>.</returns>   104         /// <returns>The <see cref="IOnenotePageCopyToSectionRequestBuilder"/>.</returns>
105         public IOnenotePageCopyToSectionRequestBuilder CopyToSection(   105         public IOnenotePageCopyToSectionRequestBuilder CopyToSection(
106             string id = null,   106             string id = null,
107             string groupId = null) <> 107             string groupId = null,
      108             string siteCollectionId = null,
      109             string siteId = null)
108         { = 110         {
109             return new OnenotePageCopyToSectionRequestBuilder(   111             return new OnenotePageCopyToSectionRequestBuilder(
110                 this.AppendSegmentToRequestUrl("microsoft.graph.copyToSection"),   112                 this.AppendSegmentToRequestUrl("microsoft.graph.copyToSection"),
111                 this.Client,   113                 this.Client,
112                 id,   114                 id,
113                 groupId); <> 115                 groupId,
      116                 siteCollectionId,
      117                 siteId);
114         } = 118         }
115     119  
116         /// <summary>   120         /// <summary>
117         /// Gets the request builder for OnenotePagePreview.   121         /// Gets the request builder for OnenotePagePreview.
118         /// </summary>   122         /// </summary>
119         /// <returns>The <see cref="IOnenotePagePreviewRequestBuilder"/>.</returns>   123         /// <returns>The <see cref="IOnenotePagePreviewRequestBuilder"/>.</returns>

   
File: OnenotePageCopyToSectionRequestBuilder.cs  
    = 27         /// <param name="siteCollectionId">A siteCollectionId parameter for the OData method call.</param>
      28         /// <param name="siteId">A siteId parameter for the OData method call.</param>
27         public OnenotePageCopyToSectionRequestBuilder(   29         public OnenotePageCopyToSectionRequestBuilder(
28             string requestUrl,   30             string requestUrl,
29             IBaseClient client,   31             IBaseClient client,
30             string id,   32             string id,
31             string groupId) <> 33             string groupId,
      34             string siteCollectionId,
      35             string siteId)
32             : base(requestUrl, client) = 36             : base(requestUrl, client)
33         {   37         {
34             this.SetParameter("id", id, true);   38             this.SetParameter("id", id, true);
35             this.SetParameter("groupId", groupId, true);   39             this.SetParameter("groupId", groupId, true);
    -+ 40             this.SetParameter("siteCollectionId", siteCollectionId, true);
      41             this.SetParameter("siteId", siteId, true);
36         } = 42         }
37     43  
38         /// <summary>   44         /// <summary>
39         /// A method used by the base class to construct a request class instance.   45         /// A method used by the base class to construct a request class instance.
40         /// </summary>   46         /// </summary>
41         /// <param name="functionUrl">The request URL to </param>   47         /// <param name="functionUrl">The request URL to </param>
 
52   = 58  
53             if (this.HasParameter("groupId"))   59             if (this.HasParameter("groupId"))
54             {   60             {
55                 request.RequestBody.GroupId = this.GetParameter<string>("groupId");   61                 request.RequestBody.GroupId = this.GetParameter<string>("groupId");
56             }   62             }
57     63  
    -+ 64             if (this.HasParameter("siteCollectionId"))
      65             {
      66                 request.RequestBody.SiteCollectionId = this.GetParameter<string>("siteCollectionId");
      67             }
    = 68  
    -+ 69             if (this.HasParameter("siteId"))
      70             {
      71                 request.RequestBody.SiteId = this.GetParameter<string>("siteId");
      72             }
    = 73  
58             return request;   74             return request;
59         }   75         }
60     }   76     }
61 }   77 }

   
File: NotebookRequestBuilder.cs  
77         /// Gets the request builder for NotebookCopyNotebook. = 77         /// Gets the request builder for NotebookCopyNotebook.
78         /// </summary>   78         /// </summary>
79         /// <returns>The <see cref="INotebookCopyNotebookRequestBuilder"/>.</returns>   79         /// <returns>The <see cref="INotebookCopyNotebookRequestBuilder"/>.</returns>
80         public INotebookCopyNotebookRequestBuilder CopyNotebook(   80         public INotebookCopyNotebookRequestBuilder CopyNotebook(
81             string groupId = null,   81             string groupId = null,
82             string renameAs = null,   82             string renameAs = null,
83             string notebookFolder = null) <> 83             string notebookFolder = null,
      84             string siteCollectionId = null,
      85             string siteId = null)
84         { = 86         {
85             return new NotebookCopyNotebookRequestBuilder(   87             return new NotebookCopyNotebookRequestBuilder(
86                 this.AppendSegmentToRequestUrl("microsoft.graph.copyNotebook"),   88                 this.AppendSegmentToRequestUrl("microsoft.graph.copyNotebook"),
87                 this.Client,   89                 this.Client,
88                 groupId,   90                 groupId,
89                 renameAs,   91                 renameAs,
90                 notebookFolder); <> 92                 notebookFolder,
      93                 siteCollectionId,
      94                 siteId);
91         } = 95         }
92        96     
93     }   97     }
94 }   98 }

   
File: NotebookCopyNotebookRequestBuilder.cs  
    = 29         /// <param name="siteId">A siteId parameter for the OData method call.</param>
28         public NotebookCopyNotebookRequestBuilder(   30         public NotebookCopyNotebookRequestBuilder(
29             string requestUrl,   31             string requestUrl,
30             IBaseClient client,   32             IBaseClient client,
31             string groupId,   33             string groupId,
32             string renameAs,   34             string renameAs,
33             string notebookFolder) <> 35             string notebookFolder,
      36             string siteCollectionId,
      37             string siteId)
34             : base(requestUrl, client) = 38             : base(requestUrl, client)
35         {   39         {
36             this.SetParameter("groupId", groupId, true);   40             this.SetParameter("groupId", groupId, true);
37             this.SetParameter("renameAs", renameAs, true);   41             this.SetParameter("renameAs", renameAs, true);
38             this.SetParameter("notebookFolder", notebookFolder, true);   42             this.SetParameter("notebookFolder", notebookFolder, true);
    -+ 43             this.SetParameter("siteCollectionId", siteCollectionId, true);
      44             this.SetParameter("siteId", siteId, true);
39         } = 45         }
40     46  
41         /// <summary>   47         /// <summary>
42         /// A method used by the base class to construct a request class instance.   48         /// A method used by the base class to construct a request class instance.
43         /// </summary>   49         /// </summary>
44         /// <param name="functionUrl">The request URL to </param>   50         /// <param name="functionUrl">The request URL to </param>
 
60   = 66  
61             if (this.HasParameter("notebookFolder"))   67             if (this.HasParameter("notebookFolder"))
62             {   68             {
63                 request.RequestBody.NotebookFolder = this.GetParameter<string>("notebookFolder");   69                 request.RequestBody.NotebookFolder = this.GetParameter<string>("notebookFolder");
64             }   70             }
65     71  
    -+ 72             if (this.HasParameter("siteCollectionId"))
      73             {
      74                 request.RequestBody.SiteCollectionId = this.GetParameter<string>("siteCollectionId");
      75             }
    = 76  
    -+ 77             if (this.HasParameter("siteId"))
      78             {
      79                 request.RequestBody.SiteId = this.GetParameter<string>("siteId");
      80             }
    = 81  
66             return request;   82             return request;
67         }   83         }
68     }   84     }
69 }   85 }

   
File: MessageRuleRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type MessageRuleRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class MessageRuleRequestBuilder : EntityRequestBuilder, IMessageRuleRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new MessageRuleRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public MessageRuleRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IMessageRuleRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IMessageRuleRequest Request(IEnumerable<Option> options)
      48         {
      49             return new MessageRuleRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
    -+ 52     }
      53 }

   
File: MessageRuleRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type MessageRuleRequest.
      20     /// </summary>
    -+ 21     public partial class MessageRuleRequest : BaseRequest, IMessageRuleRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new MessageRuleRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public MessageRuleRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified MessageRule using POST.
      39         /// </summary>
      40         /// <param name="messageRuleToCreate">The MessageRule to create.</param>
      41         /// <returns>The created MessageRule.</returns>
    -+ 42         public System.Threading.Tasks.Task<MessageRule> CreateAsync(MessageRule messageRuleToCreate)
      43         {
      44             return this.CreateAsync(messageRuleToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified MessageRule using POST.
      49         /// </summary>
      50         /// <param name="messageRuleToCreate">The MessageRule to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created MessageRule.</returns>
    -+ 53         public async System.Threading.Tasks.Task<MessageRule> CreateAsync(MessageRule messageRuleToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<MessageRule>(messageRuleToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified MessageRule.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified MessageRule.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<MessageRule>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified MessageRule.
      84         /// </summary>
      85         /// <returns>The MessageRule.</returns>
    -+ 86         public System.Threading.Tasks.Task<MessageRule> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified MessageRule.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The MessageRule.</returns>
    -+ 96         public async System.Threading.Tasks.Task<MessageRule> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<MessageRule>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified MessageRule using PATCH.
      106         /// </summary>
      107         /// <param name="messageRuleToUpdate">The MessageRule to update.</param>
      108         /// <returns>The updated MessageRule.</returns>
    -+ 109         public System.Threading.Tasks.Task<MessageRule> UpdateAsync(MessageRule messageRuleToUpdate)
      110         {
      111             return this.UpdateAsync(messageRuleToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified MessageRule using PATCH.
      116         /// </summary>
      117         /// <param name="messageRuleToUpdate">The MessageRule to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated MessageRule.</returns>
    -+ 120         public async System.Threading.Tasks.Task<MessageRule> UpdateAsync(MessageRule messageRuleToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<MessageRule>(messageRuleToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IMessageRuleRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IMessageRuleRequest Expand(Expression<Func<MessageRule, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IMessageRuleRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IMessageRuleRequest Select(Expression<Func<MessageRule, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="messageRuleToInitialize">The <see cref="MessageRule"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(MessageRule messageRuleToInitialize)
      204         {
    = 205  
    -+ 206         }
      207     }
      208 }

   
File: ManagedDeviceMobileAppConfigurationRequestBuilder.cs  
62         } = 62         }
63     63  
64         /// <summary>   64         /// <summary>
      65         /// Gets the request builder for DeviceStatuses.
      66         /// </summary>
      67         /// <returns>The <see cref="IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder"/>.</returns>
    -+ 68         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder DeviceStatuses
      69         {
      70             get
      71             {
      72                 return new ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder(this.AppendSegmentToRequestUrl("deviceStatuses"), this.Client);
      73             }
      74         }
    = 75  
      76         /// <summary>
65         /// Gets the request builder for UserStatuses.   77         /// Gets the request builder for UserStatuses.
66         /// </summary>   78         /// </summary>
67         /// <returns>The <see cref="IManagedDeviceMobileAppConfigurationUserStatusesCollectionRequestBuilder"/>.</returns>   79         /// <returns>The <see cref="IManagedDeviceMobileAppConfigurationUserStatusesCollectionRequestBuilder"/>.</returns>
68         public IManagedDeviceMobileAppConfigurationUserStatusesCollectionRequestBuilder UserStatuses   80         public IManagedDeviceMobileAppConfigurationUserStatusesCollectionRequestBuilder UserStatuses

   
File: ManagedDeviceMobileAppConfigurationRequest.cs  
219                         managedDeviceMobileAppConfigurationToInitialize.Assignments.InitializeNextPageRequest( = 219                         managedDeviceMobileAppConfigurationToInitialize.Assignments.InitializeNextPageRequest(
220                             this.Client,   220                             this.Client,
221                             nextPageLinkString);   221                             nextPageLinkString);
222                     }   222                     }
223                 }   223                 }
224     224  
    -+ 225                 if (managedDeviceMobileAppConfigurationToInitialize.DeviceStatuses != null && managedDeviceMobileAppConfigurationToInitialize.DeviceStatuses.CurrentPage != null)
      226                 {
      227                     managedDeviceMobileAppConfigurationToInitialize.DeviceStatuses.AdditionalData = managedDeviceMobileAppConfigurationToInitialize.AdditionalData;
    = 228  
    -+ 229                     object nextPageLink;
      230                     managedDeviceMobileAppConfigurationToInitialize.AdditionalData.TryGetValue("deviceStatuses@odata.nextLink", out nextPageLink);
      231                     var nextPageLinkString = nextPageLink as string;
    = 232  
    -+ 233                     if (!string.IsNullOrEmpty(nextPageLinkString))
      234                     {
      235                         managedDeviceMobileAppConfigurationToInitialize.DeviceStatuses.InitializeNextPageRequest(
      236                             this.Client,
      237                             nextPageLinkString);
      238                     }
      239                 }
    = 240  
225                 if (managedDeviceMobileAppConfigurationToInitialize.UserStatuses != null && managedDeviceMobileAppConfigurationToInitialize.UserStatuses.CurrentPage != null)   241                 if (managedDeviceMobileAppConfigurationToInitialize.UserStatuses != null && managedDeviceMobileAppConfigurationToInitialize.UserStatuses.CurrentPage != null)
226                 {   242                 {
227                     managedDeviceMobileAppConfigurationToInitialize.UserStatuses.AdditionalData = managedDeviceMobileAppConfigurationToInitialize.AdditionalData;   243                     managedDeviceMobileAppConfigurationToInitialize.UserStatuses.AdditionalData = managedDeviceMobileAppConfigurationToInitialize.AdditionalData;
228     244  
229                     object nextPageLink;   245                     object nextPageLink;

   
File: ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder : EntityRequestBuilder, IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IManagedDeviceMobileAppConfigurationDeviceStatusRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IManagedDeviceMobileAppConfigurationDeviceStatusRequest Request(IEnumerable<Option> options)
      48         {
      49             return new ManagedDeviceMobileAppConfigurationDeviceStatusRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
    -+ 52     }
      53 }

   
File: ManagedDeviceMobileAppConfigurationDeviceStatusRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type ManagedDeviceMobileAppConfigurationDeviceStatusRequest.
      20     /// </summary>
    -+ 21     public partial class ManagedDeviceMobileAppConfigurationDeviceStatusRequest : BaseRequest, IManagedDeviceMobileAppConfigurationDeviceStatusRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new ManagedDeviceMobileAppConfigurationDeviceStatusRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public ManagedDeviceMobileAppConfigurationDeviceStatusRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified ManagedDeviceMobileAppConfigurationDeviceStatus using POST.
      39         /// </summary>
      40         /// <param name="managedDeviceMobileAppConfigurationDeviceStatusToCreate">The ManagedDeviceMobileAppConfigurationDeviceStatus to create.</param>
      41         /// <returns>The created ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 42         public System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> CreateAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatusToCreate)
      43         {
      44             return this.CreateAsync(managedDeviceMobileAppConfigurationDeviceStatusToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified ManagedDeviceMobileAppConfigurationDeviceStatus using POST.
      49         /// </summary>
      50         /// <param name="managedDeviceMobileAppConfigurationDeviceStatusToCreate">The ManagedDeviceMobileAppConfigurationDeviceStatus to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 53         public async System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> CreateAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatusToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<ManagedDeviceMobileAppConfigurationDeviceStatus>(managedDeviceMobileAppConfigurationDeviceStatusToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified ManagedDeviceMobileAppConfigurationDeviceStatus.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified ManagedDeviceMobileAppConfigurationDeviceStatus.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<ManagedDeviceMobileAppConfigurationDeviceStatus>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified ManagedDeviceMobileAppConfigurationDeviceStatus.
      84         /// </summary>
      85         /// <returns>The ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 86         public System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified ManagedDeviceMobileAppConfigurationDeviceStatus.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 96         public async System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<ManagedDeviceMobileAppConfigurationDeviceStatus>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified ManagedDeviceMobileAppConfigurationDeviceStatus using PATCH.
      106         /// </summary>
      107         /// <param name="managedDeviceMobileAppConfigurationDeviceStatusToUpdate">The ManagedDeviceMobileAppConfigurationDeviceStatus to update.</param>
      108         /// <returns>The updated ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 109         public System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> UpdateAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatusToUpdate)
      110         {
      111             return this.UpdateAsync(managedDeviceMobileAppConfigurationDeviceStatusToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified ManagedDeviceMobileAppConfigurationDeviceStatus using PATCH.
      116         /// </summary>
      117         /// <param name="managedDeviceMobileAppConfigurationDeviceStatusToUpdate">The ManagedDeviceMobileAppConfigurationDeviceStatus to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 120         public async System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> UpdateAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatusToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<ManagedDeviceMobileAppConfigurationDeviceStatus>(managedDeviceMobileAppConfigurationDeviceStatusToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IManagedDeviceMobileAppConfigurationDeviceStatusRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IManagedDeviceMobileAppConfigurationDeviceStatusRequest Expand(Expression<Func<ManagedDeviceMobileAppConfigurationDeviceStatus, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IManagedDeviceMobileAppConfigurationDeviceStatusRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IManagedDeviceMobileAppConfigurationDeviceStatusRequest Select(Expression<Func<ManagedDeviceMobileAppConfigurationDeviceStatus, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="managedDeviceMobileAppConfigurationDeviceStatusToInitialize">The <see cref="ManagedDeviceMobileAppConfigurationDeviceStatus"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatusToInitialize)
      204         {
    = 205  
    -+ 206         }
      207     }
      208 }

   
File: ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionResponse.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionResponse.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System.Collections.Generic;
      11     using System.Runtime.Serialization;
      12     using Newtonsoft.Json;
    = 13  
      14     /// <summary>
      15     /// The type ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionResponse.
      16     /// </summary>
    -+ 17     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      18     public class ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionResponse
      19     {
    = 20         /// <summary>
      21         /// Gets or sets the <see cref="IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage"/> value.
      22         /// </summary>
    -+ 23         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Newtonsoft.Json.Required.Default)]
      24         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage Value { get; set; }
    = 25  
      26         /// <summary>
      27         /// Gets or sets additional data.
      28         /// </summary>
    -+ 29         [JsonExtensionData(ReadData = true)]
      30         public IDictionary<string, object> AdditionalData { get; set; }
      31     }
      32 }

   
File: ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The type ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial class ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder : BaseRequestBuilder, IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Constructs a new ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder.
      20         /// </summary>
      21         /// <param name="requestUrl">The URL for the built request.</param>
      22         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 23         public ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder(
      24             string requestUrl,
      25             IBaseClient client)
      26             : base(requestUrl, client)
      27         {
      28         }
    = 29  
      30         /// <summary>
      31         /// Builds the request.
      32         /// </summary>
      33         /// <returns>The built request.</returns>
    -+ 34         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Request()
      35         {
      36             return this.Request(null);
      37         }
    = 38  
      39         /// <summary>
      40         /// Builds the request.
      41         /// </summary>
      42         /// <param name="options">The query and header options for the request.</param>
      43         /// <returns>The built request.</returns>
    -+ 44         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Request(IEnumerable<Option> options)
      45         {
      46             return new ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest(this.RequestUrl, this.Client, options);
      47         }
    = 48  
      49         /// <summary>
      50         /// Gets an <see cref="IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder"/> for the specified ManagedDeviceMobileAppConfigurationManagedDeviceMobileAppConfigurationDeviceStatus.
      51         /// </summary>
      52         /// <param name="id">The ID for the ManagedDeviceMobileAppConfigurationManagedDeviceMobileAppConfigurationDeviceStatus.</param>
      53         /// <returns>The <see cref="IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder"/>.</returns>
    -+ 54         public IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder this[string id]
      55         {
      56             get
      57             {
      58                 return new ManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder(this.AppendSegmentToRequestUrl(id), this.Client);
      59             }
      60         }
    = 61  
      62         
    -+ 63     }
      64 }

   
File: ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The type ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest.
      19     /// </summary>
    -+ 20     public partial class ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest : BaseRequest, IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest.
      24         /// </summary>
      25         /// <param name="requestUrl">The URL for the built request.</param>
      26         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      27         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 28         public ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest(
      29             string requestUrl,
      30             IBaseClient client,
      31             IEnumerable<Option> options)
      32             : base(requestUrl, client, options)
      33         {
      34         }
    = 35         
      36         /// <summary>
      37         /// Adds the specified ManagedDeviceMobileAppConfigurationDeviceStatus to the collection via POST.
      38         /// </summary>
      39         /// <param name="managedDeviceMobileAppConfigurationDeviceStatus">The ManagedDeviceMobileAppConfigurationDeviceStatus to add.</param>
      40         /// <returns>The created ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 41         public System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> AddAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatus)
      42         {
      43             return this.AddAsync(managedDeviceMobileAppConfigurationDeviceStatus, CancellationToken.None);
      44         }
    = 45  
      46         /// <summary>
      47         /// Adds the specified ManagedDeviceMobileAppConfigurationDeviceStatus to the collection via POST.
      48         /// </summary>
      49         /// <param name="managedDeviceMobileAppConfigurationDeviceStatus">The ManagedDeviceMobileAppConfigurationDeviceStatus to add.</param>
      50         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      51         /// <returns>The created ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 52         public System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> AddAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatus, CancellationToken cancellationToken)
      53         {
      54             this.ContentType = "application/json";
      55             this.Method = "POST";
      56             return this.SendAsync<ManagedDeviceMobileAppConfigurationDeviceStatus>(managedDeviceMobileAppConfigurationDeviceStatus, cancellationToken);
      57         }
    = 58  
      59         /// <summary>
      60         /// Gets the collection page.
      61         /// </summary>
      62         /// <returns>The collection page.</returns>
    -+ 63         public System.Threading.Tasks.Task<IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage> GetAsync()
      64         {
      65             return this.GetAsync(CancellationToken.None);
      66         }
    = 67  
      68         /// <summary>
      69         /// Gets the collection page.
      70         /// </summary>
      71         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      72         /// <returns>The collection page.</returns>
    -+ 73         public async System.Threading.Tasks.Task<IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage> GetAsync(CancellationToken cancellationToken)
      74         {
      75             this.Method = "GET";
      76             var response = await this.SendAsync<ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      77             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      78             {
      79                 if (response.AdditionalData != null)
      80                 {
      81                     object nextPageLink;
      82                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 83  
    -+ 84                     var nextPageLinkString = nextPageLink as string;
    = 85  
    -+ 86                     if (!string.IsNullOrEmpty(nextPageLinkString))
      87                     {
      88                         response.Value.InitializeNextPageRequest(
      89                             this.Client,
      90                             nextPageLinkString);
      91                     }
    = 92  
      93                     // Copy the additional data collection to the page itself so that information is not lost
    -+ 94                     response.Value.AdditionalData = response.AdditionalData;
      95                 }
    = 96  
    -+ 97                 return response.Value;
      98             }
    = 99  
    -+ 100             return null;
      101         }
    = 102  
      103         /// <summary>
      104         /// Adds the specified expand value to the request.
      105         /// </summary>
      106         /// <param name="value">The expand value.</param>
      107         /// <returns>The request object to send.</returns>
    -+ 108         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Expand(string value)
      109         {
      110             this.QueryOptions.Add(new QueryOption("$expand", value));
      111             return this;
      112         }
    = 113  
      114         /// <summary>
      115         /// Adds the specified expand value to the request.
      116         /// </summary>
      117         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      118         /// <returns>The request object to send.</returns>
    -+ 119         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Expand(Expression<Func<ManagedDeviceMobileAppConfigurationDeviceStatus, object>> expandExpression)
      120         {
      121             if (expandExpression == null)
      122             {
      123                 throw new ArgumentNullException(nameof(expandExpression));
      124             }
      125             string error;
      126             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      127             if (value == null)
      128             {
      129                 throw new ArgumentException(error, nameof(expandExpression));
      130             }
      131             else
      132             {
      133                 this.QueryOptions.Add(new QueryOption("$expand", value));
      134             }
      135             return this;
      136         }
    = 137  
      138         /// <summary>
      139         /// Adds the specified select value to the request.
      140         /// </summary>
      141         /// <param name="value">The select value.</param>
      142         /// <returns>The request object to send.</returns>
    -+ 143         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Select(string value)
      144         {
      145             this.QueryOptions.Add(new QueryOption("$select", value));
      146             return this;
      147         }
    = 148  
      149         /// <summary>
      150         /// Adds the specified select value to the request.
      151         /// </summary>
      152         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      153         /// <returns>The request object to send.</returns>
    -+ 154         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Select(Expression<Func<ManagedDeviceMobileAppConfigurationDeviceStatus, object>> selectExpression)
      155         {
      156             if (selectExpression == null)
      157             {
      158                 throw new ArgumentNullException(nameof(selectExpression));
      159             }
      160             string error;
      161             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      162             if (value == null)
      163             {
      164                 throw new ArgumentException(error, nameof(selectExpression));
      165             }
      166             else
      167             {
      168                 this.QueryOptions.Add(new QueryOption("$select", value));
      169             }
      170             return this;
      171         }
    = 172  
      173         /// <summary>
      174         /// Adds the specified top value to the request.
      175         /// </summary>
      176         /// <param name="value">The top value.</param>
      177         /// <returns>The request object to send.</returns>
    -+ 178         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Top(int value)
      179         {
      180             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      181             return this;
      182         }
    = 183  
      184         /// <summary>
      185         /// Adds the specified filter value to the request.
      186         /// </summary>
      187         /// <param name="value">The filter value.</param>
      188         /// <returns>The request object to send.</returns>
    -+ 189         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Filter(string value)
      190         {
      191             this.QueryOptions.Add(new QueryOption("$filter", value));
      192             return this;
      193         }
    = 194  
      195         /// <summary>
      196         /// Adds the specified skip value to the request.
      197         /// </summary>
      198         /// <param name="value">The skip value.</param>
      199         /// <returns>The request object to send.</returns>
    -+ 200         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Skip(int value)
      201         {
      202             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      203             return this;
      204         }
    = 205  
      206         /// <summary>
      207         /// Adds the specified orderby value to the request.
      208         /// </summary>
      209         /// <param name="value">The orderby value.</param>
      210         /// <returns>The request object to send.</returns>
    -+ 211         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest OrderBy(string value)
      212         {
      213             this.QueryOptions.Add(new QueryOption("$orderby", value));
      214             return this;
      215         }
      216     }
      217 }

   
File: ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
      13     /// <summary>
      14     /// The type ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage.
      15     /// </summary>
    -+ 16     public partial class ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage : CollectionPage<ManagedDeviceMobileAppConfigurationDeviceStatus>, IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage
      17     {
    = 18         /// <summary>
      19         /// Gets the next page <see cref="IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest"/> instance.
      20         /// </summary>
    -+ 21         public IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest NextPageRequest { get; private set; }
    = 22  
      23         /// <summary>
      24         /// Initializes the NextPageRequest property.
      25         /// </summary>
    -+ 26         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      27         {
      28             if (!string.IsNullOrEmpty(nextPageLinkString))
      29             {
      30                 this.NextPageRequest = new ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest(
      31                     nextPageLinkString,
      32                     client,
      33                     null);
      34             }
      35         }
      36     }
      37 }

   
File: MailFolderRequestBuilder.cs  
62         } = 62         }
63     63  
64         /// <summary>   64         /// <summary>
      65         /// Gets the request builder for MessageRules.
      66         /// </summary>
      67         /// <returns>The <see cref="IMailFolderMessageRulesCollectionRequestBuilder"/>.</returns>
    -+ 68         public IMailFolderMessageRulesCollectionRequestBuilder MessageRules
      69         {
      70             get
      71             {
      72                 return new MailFolderMessageRulesCollectionRequestBuilder(this.AppendSegmentToRequestUrl("messageRules"), this.Client);
      73             }
      74         }
    = 75  
      76         /// <summary>
65         /// Gets the request builder for ChildFolders.   77         /// Gets the request builder for ChildFolders.
66         /// </summary>   78         /// </summary>
67         /// <returns>The <see cref="IMailFolderChildFoldersCollectionRequestBuilder"/>.</returns>   79         /// <returns>The <see cref="IMailFolderChildFoldersCollectionRequestBuilder"/>.</returns>
68         public IMailFolderChildFoldersCollectionRequestBuilder ChildFolders   80         public IMailFolderChildFoldersCollectionRequestBuilder ChildFolders

   
File: MailFolderRequest.cs  
219                         mailFolderToInitialize.Messages.InitializeNextPageRequest( = 219                         mailFolderToInitialize.Messages.InitializeNextPageRequest(
220                             this.Client,   220                             this.Client,
221                             nextPageLinkString);   221                             nextPageLinkString);
222                     }   222                     }
223                 }   223                 }
224     224  
    -+ 225                 if (mailFolderToInitialize.MessageRules != null && mailFolderToInitialize.MessageRules.CurrentPage != null)
      226                 {
      227                     mailFolderToInitialize.MessageRules.AdditionalData = mailFolderToInitialize.AdditionalData;
    = 228  
    -+ 229                     object nextPageLink;
      230                     mailFolderToInitialize.AdditionalData.TryGetValue("messageRules@odata.nextLink", out nextPageLink);
      231                     var nextPageLinkString = nextPageLink as string;
    = 232  
    -+ 233                     if (!string.IsNullOrEmpty(nextPageLinkString))
      234                     {
      235                         mailFolderToInitialize.MessageRules.InitializeNextPageRequest(
      236                             this.Client,
      237                             nextPageLinkString);
      238                     }
      239                 }
    = 240  
225                 if (mailFolderToInitialize.ChildFolders != null && mailFolderToInitialize.ChildFolders.CurrentPage != null)   241                 if (mailFolderToInitialize.ChildFolders != null && mailFolderToInitialize.ChildFolders.CurrentPage != null)
226                 {   242                 {
227                     mailFolderToInitialize.ChildFolders.AdditionalData = mailFolderToInitialize.AdditionalData;   243                     mailFolderToInitialize.ChildFolders.AdditionalData = mailFolderToInitialize.AdditionalData;
228     244  
229                     object nextPageLink;   245                     object nextPageLink;

   
File: MailFolderMessageRulesCollectionResponse.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionResponse.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System.Collections.Generic;
      11     using System.Runtime.Serialization;
      12     using Newtonsoft.Json;
    = 13  
      14     /// <summary>
      15     /// The type MailFolderMessageRulesCollectionResponse.
      16     /// </summary>
    -+ 17     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      18     public class MailFolderMessageRulesCollectionResponse
      19     {
    = 20         /// <summary>
      21         /// Gets or sets the <see cref="IMailFolderMessageRulesCollectionPage"/> value.
      22         /// </summary>
    -+ 23         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Newtonsoft.Json.Required.Default)]
      24         public IMailFolderMessageRulesCollectionPage Value { get; set; }
    = 25  
      26         /// <summary>
      27         /// Gets or sets additional data.
      28         /// </summary>
    -+ 29         [JsonExtensionData(ReadData = true)]
      30         public IDictionary<string, object> AdditionalData { get; set; }
      31     }
      32 }

   
File: MailFolderMessageRulesCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The type MailFolderMessageRulesCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial class MailFolderMessageRulesCollectionRequestBuilder : BaseRequestBuilder, IMailFolderMessageRulesCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Constructs a new MailFolderMessageRulesCollectionRequestBuilder.
      20         /// </summary>
      21         /// <param name="requestUrl">The URL for the built request.</param>
      22         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 23         public MailFolderMessageRulesCollectionRequestBuilder(
      24             string requestUrl,
      25             IBaseClient client)
      26             : base(requestUrl, client)
      27         {
      28         }
    = 29  
      30         /// <summary>
      31         /// Builds the request.
      32         /// </summary>
      33         /// <returns>The built request.</returns>
    -+ 34         public IMailFolderMessageRulesCollectionRequest Request()
      35         {
      36             return this.Request(null);
      37         }
    = 38  
      39         /// <summary>
      40         /// Builds the request.
      41         /// </summary>
      42         /// <param name="options">The query and header options for the request.</param>
      43         /// <returns>The built request.</returns>
    -+ 44         public IMailFolderMessageRulesCollectionRequest Request(IEnumerable<Option> options)
      45         {
      46             return new MailFolderMessageRulesCollectionRequest(this.RequestUrl, this.Client, options);
      47         }
    = 48  
      49         /// <summary>
      50         /// Gets an <see cref="IMessageRuleRequestBuilder"/> for the specified MailFolderMessageRule.
      51         /// </summary>
      52         /// <param name="id">The ID for the MailFolderMessageRule.</param>
      53         /// <returns>The <see cref="IMessageRuleRequestBuilder"/>.</returns>
    -+ 54         public IMessageRuleRequestBuilder this[string id]
      55         {
      56             get
      57             {
      58                 return new MessageRuleRequestBuilder(this.AppendSegmentToRequestUrl(id), this.Client);
      59             }
      60         }
    = 61  
      62         
    -+ 63     }
      64 }

   
File: MailFolderMessageRulesCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The type MailFolderMessageRulesCollectionRequest.
      19     /// </summary>
    -+ 20     public partial class MailFolderMessageRulesCollectionRequest : BaseRequest, IMailFolderMessageRulesCollectionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new MailFolderMessageRulesCollectionRequest.
      24         /// </summary>
      25         /// <param name="requestUrl">The URL for the built request.</param>
      26         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      27         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 28         public MailFolderMessageRulesCollectionRequest(
      29             string requestUrl,
      30             IBaseClient client,
      31             IEnumerable<Option> options)
      32             : base(requestUrl, client, options)
      33         {
      34         }
    = 35         
      36         /// <summary>
      37         /// Adds the specified MessageRule to the collection via POST.
      38         /// </summary>
      39         /// <param name="messageRule">The MessageRule to add.</param>
      40         /// <returns>The created MessageRule.</returns>
    -+ 41         public System.Threading.Tasks.Task<MessageRule> AddAsync(MessageRule messageRule)
      42         {
      43             return this.AddAsync(messageRule, CancellationToken.None);
      44         }
    = 45  
      46         /// <summary>
      47         /// Adds the specified MessageRule to the collection via POST.
      48         /// </summary>
      49         /// <param name="messageRule">The MessageRule to add.</param>
      50         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      51         /// <returns>The created MessageRule.</returns>
    -+ 52         public System.Threading.Tasks.Task<MessageRule> AddAsync(MessageRule messageRule, CancellationToken cancellationToken)
      53         {
      54             this.ContentType = "application/json";
      55             this.Method = "POST";
      56             return this.SendAsync<MessageRule>(messageRule, cancellationToken);
      57         }
    = 58  
      59         /// <summary>
      60         /// Gets the collection page.
      61         /// </summary>
      62         /// <returns>The collection page.</returns>
    -+ 63         public System.Threading.Tasks.Task<IMailFolderMessageRulesCollectionPage> GetAsync()
      64         {
      65             return this.GetAsync(CancellationToken.None);
      66         }
    = 67  
      68         /// <summary>
      69         /// Gets the collection page.
      70         /// </summary>
      71         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      72         /// <returns>The collection page.</returns>
    -+ 73         public async System.Threading.Tasks.Task<IMailFolderMessageRulesCollectionPage> GetAsync(CancellationToken cancellationToken)
      74         {
      75             this.Method = "GET";
      76             var response = await this.SendAsync<MailFolderMessageRulesCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      77             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      78             {
      79                 if (response.AdditionalData != null)
      80                 {
      81                     object nextPageLink;
      82                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 83  
    -+ 84                     var nextPageLinkString = nextPageLink as string;
    = 85  
    -+ 86                     if (!string.IsNullOrEmpty(nextPageLinkString))
      87                     {
      88                         response.Value.InitializeNextPageRequest(
      89                             this.Client,
      90                             nextPageLinkString);
      91                     }
    = 92  
      93                     // Copy the additional data collection to the page itself so that information is not lost
    -+ 94                     response.Value.AdditionalData = response.AdditionalData;
      95                 }
    = 96  
    -+ 97                 return response.Value;
      98             }
    = 99  
    -+ 100             return null;
      101         }
    = 102  
      103         /// <summary>
      104         /// Adds the specified expand value to the request.
      105         /// </summary>
      106         /// <param name="value">The expand value.</param>
      107         /// <returns>The request object to send.</returns>
    -+ 108         public IMailFolderMessageRulesCollectionRequest Expand(string value)
      109         {
      110             this.QueryOptions.Add(new QueryOption("$expand", value));
      111             return this;
      112         }
    = 113  
      114         /// <summary>
      115         /// Adds the specified expand value to the request.
      116         /// </summary>
      117         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      118         /// <returns>The request object to send.</returns>
    -+ 119         public IMailFolderMessageRulesCollectionRequest Expand(Expression<Func<MessageRule, object>> expandExpression)
      120         {
      121             if (expandExpression == null)
      122             {
      123                 throw new ArgumentNullException(nameof(expandExpression));
      124             }
      125             string error;
      126             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      127             if (value == null)
      128             {
      129                 throw new ArgumentException(error, nameof(expandExpression));
      130             }
      131             else
      132             {
      133                 this.QueryOptions.Add(new QueryOption("$expand", value));
      134             }
      135             return this;
      136         }
    = 137  
      138         /// <summary>
      139         /// Adds the specified select value to the request.
      140         /// </summary>
      141         /// <param name="value">The select value.</param>
      142         /// <returns>The request object to send.</returns>
    -+ 143         public IMailFolderMessageRulesCollectionRequest Select(string value)
      144         {
      145             this.QueryOptions.Add(new QueryOption("$select", value));
      146             return this;
      147         }
    = 148  
      149         /// <summary>
      150         /// Adds the specified select value to the request.
      151         /// </summary>
      152         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      153         /// <returns>The request object to send.</returns>
    -+ 154         public IMailFolderMessageRulesCollectionRequest Select(Expression<Func<MessageRule, object>> selectExpression)
      155         {
      156             if (selectExpression == null)
      157             {
      158                 throw new ArgumentNullException(nameof(selectExpression));
      159             }
      160             string error;
      161             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      162             if (value == null)
      163             {
      164                 throw new ArgumentException(error, nameof(selectExpression));
      165             }
      166             else
      167             {
      168                 this.QueryOptions.Add(new QueryOption("$select", value));
      169             }
      170             return this;
      171         }
    = 172  
      173         /// <summary>
      174         /// Adds the specified top value to the request.
      175         /// </summary>
      176         /// <param name="value">The top value.</param>
      177         /// <returns>The request object to send.</returns>
    -+ 178         public IMailFolderMessageRulesCollectionRequest Top(int value)
      179         {
      180             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      181             return this;
      182         }
    = 183  
      184         /// <summary>
      185         /// Adds the specified filter value to the request.
      186         /// </summary>
      187         /// <param name="value">The filter value.</param>
      188         /// <returns>The request object to send.</returns>
    -+ 189         public IMailFolderMessageRulesCollectionRequest Filter(string value)
      190         {
      191             this.QueryOptions.Add(new QueryOption("$filter", value));
      192             return this;
      193         }
    = 194  
      195         /// <summary>
      196         /// Adds the specified skip value to the request.
      197         /// </summary>
      198         /// <param name="value">The skip value.</param>
      199         /// <returns>The request object to send.</returns>
    -+ 200         public IMailFolderMessageRulesCollectionRequest Skip(int value)
      201         {
      202             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      203             return this;
      204         }
    = 205  
      206         /// <summary>
      207         /// Adds the specified orderby value to the request.
      208         /// </summary>
      209         /// <param name="value">The orderby value.</param>
      210         /// <returns>The request object to send.</returns>
    -+ 211         public IMailFolderMessageRulesCollectionRequest OrderBy(string value)
      212         {
      213             this.QueryOptions.Add(new QueryOption("$orderby", value));
      214             return this;
      215         }
      216     }
      217 }

   
File: MailFolderMessageRulesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
      13     /// <summary>
      14     /// The type MailFolderMessageRulesCollectionPage.
      15     /// </summary>
    -+ 16     public partial class MailFolderMessageRulesCollectionPage : CollectionPage<MessageRule>, IMailFolderMessageRulesCollectionPage
      17     {
    = 18         /// <summary>
      19         /// Gets the next page <see cref="IMailFolderMessageRulesCollectionRequest"/> instance.
      20         /// </summary>
    -+ 21         public IMailFolderMessageRulesCollectionRequest NextPageRequest { get; private set; }
    = 22  
      23         /// <summary>
      24         /// Initializes the NextPageRequest property.
      25         /// </summary>
    -+ 26         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      27         {
      28             if (!string.IsNullOrEmpty(nextPageLinkString))
      29             {
      30                 this.NextPageRequest = new MailFolderMessageRulesCollectionRequest(
      31                     nextPageLinkString,
      32                     client,
      33                     null);
      34             }
      35         }
      36     }
      37 }

   
File: ListItemVersionsCollectionResponse.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionResponse.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System.Collections.Generic;
      11     using System.Runtime.Serialization;
      12     using Newtonsoft.Json;
    = 13  
      14     /// <summary>
      15     /// The type ListItemVersionsCollectionResponse.
      16     /// </summary>
    -+ 17     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      18     public class ListItemVersionsCollectionResponse
      19     {
    = 20         /// <summary>
      21         /// Gets or sets the <see cref="IListItemVersionsCollectionPage"/> value.
      22         /// </summary>
    -+ 23         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Newtonsoft.Json.Required.Default)]
      24         public IListItemVersionsCollectionPage Value { get; set; }
    = 25  
      26         /// <summary>
      27         /// Gets or sets additional data.
      28         /// </summary>
    -+ 29         [JsonExtensionData(ReadData = true)]
      30         public IDictionary<string, object> AdditionalData { get; set; }
      31     }
      32 }

   
File: ListItemVersionsCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The type ListItemVersionsCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial class ListItemVersionsCollectionRequestBuilder : BaseRequestBuilder, IListItemVersionsCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Constructs a new ListItemVersionsCollectionRequestBuilder.
      20         /// </summary>
      21         /// <param name="requestUrl">The URL for the built request.</param>
      22         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 23         public ListItemVersionsCollectionRequestBuilder(
      24             string requestUrl,
      25             IBaseClient client)
      26             : base(requestUrl, client)
      27         {
      28         }
    = 29  
      30         /// <summary>
      31         /// Builds the request.
      32         /// </summary>
      33         /// <returns>The built request.</returns>
    -+ 34         public IListItemVersionsCollectionRequest Request()
      35         {
      36             return this.Request(null);
      37         }
    = 38  
      39         /// <summary>
      40         /// Builds the request.
      41         /// </summary>
      42         /// <param name="options">The query and header options for the request.</param>
      43         /// <returns>The built request.</returns>
    -+ 44         public IListItemVersionsCollectionRequest Request(IEnumerable<Option> options)
      45         {
      46             return new ListItemVersionsCollectionRequest(this.RequestUrl, this.Client, options);
      47         }
    = 48  
      49         /// <summary>
      50         /// Gets an <see cref="IListItemVersionRequestBuilder"/> for the specified ListItemListItemVersion.
      51         /// </summary>
      52         /// <param name="id">The ID for the ListItemListItemVersion.</param>
      53         /// <returns>The <see cref="IListItemVersionRequestBuilder"/>.</returns>
    -+ 54         public IListItemVersionRequestBuilder this[string id]
      55         {
      56             get
      57             {
      58                 return new ListItemVersionRequestBuilder(this.AppendSegmentToRequestUrl(id), this.Client);
      59             }
      60         }
    = 61  
      62         
    -+ 63     }
      64 }

   
File: ListItemVersionsCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The type ListItemVersionsCollectionRequest.
      19     /// </summary>
    -+ 20     public partial class ListItemVersionsCollectionRequest : BaseRequest, IListItemVersionsCollectionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new ListItemVersionsCollectionRequest.
      24         /// </summary>
      25         /// <param name="requestUrl">The URL for the built request.</param>
      26         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      27         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 28         public ListItemVersionsCollectionRequest(
      29             string requestUrl,
      30             IBaseClient client,
      31             IEnumerable<Option> options)
      32             : base(requestUrl, client, options)
      33         {
      34         }
    = 35         
      36         /// <summary>
      37         /// Adds the specified ListItemVersion to the collection via POST.
      38         /// </summary>
      39         /// <param name="listItemVersion">The ListItemVersion to add.</param>
      40         /// <returns>The created ListItemVersion.</returns>
    -+ 41         public System.Threading.Tasks.Task<ListItemVersion> AddAsync(ListItemVersion listItemVersion)
      42         {
      43             return this.AddAsync(listItemVersion, CancellationToken.None);
      44         }
    = 45  
      46         /// <summary>
      47         /// Adds the specified ListItemVersion to the collection via POST.
      48         /// </summary>
      49         /// <param name="listItemVersion">The ListItemVersion to add.</param>
      50         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      51         /// <returns>The created ListItemVersion.</returns>
    -+ 52         public System.Threading.Tasks.Task<ListItemVersion> AddAsync(ListItemVersion listItemVersion, CancellationToken cancellationToken)
      53         {
      54             this.ContentType = "application/json";
      55             this.Method = "POST";
      56             return this.SendAsync<ListItemVersion>(listItemVersion, cancellationToken);
      57         }
    = 58  
      59         /// <summary>
      60         /// Gets the collection page.
      61         /// </summary>
      62         /// <returns>The collection page.</returns>
    -+ 63         public System.Threading.Tasks.Task<IListItemVersionsCollectionPage> GetAsync()
      64         {
      65             return this.GetAsync(CancellationToken.None);
      66         }
    = 67  
      68         /// <summary>
      69         /// Gets the collection page.
      70         /// </summary>
      71         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      72         /// <returns>The collection page.</returns>
    -+ 73         public async System.Threading.Tasks.Task<IListItemVersionsCollectionPage> GetAsync(CancellationToken cancellationToken)
      74         {
      75             this.Method = "GET";
      76             var response = await this.SendAsync<ListItemVersionsCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      77             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      78             {
      79                 if (response.AdditionalData != null)
      80                 {
      81                     object nextPageLink;
      82                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 83  
    -+ 84                     var nextPageLinkString = nextPageLink as string;
    = 85  
    -+ 86                     if (!string.IsNullOrEmpty(nextPageLinkString))
      87                     {
      88                         response.Value.InitializeNextPageRequest(
      89                             this.Client,
      90                             nextPageLinkString);
      91                     }
    = 92  
      93                     // Copy the additional data collection to the page itself so that information is not lost
    -+ 94                     response.Value.AdditionalData = response.AdditionalData;
      95                 }
    = 96  
    -+ 97                 return response.Value;
      98             }
    = 99  
    -+ 100             return null;
      101         }
    = 102  
      103         /// <summary>
      104         /// Adds the specified expand value to the request.
      105         /// </summary>
      106         /// <param name="value">The expand value.</param>
      107         /// <returns>The request object to send.</returns>
    -+ 108         public IListItemVersionsCollectionRequest Expand(string value)
      109         {
      110             this.QueryOptions.Add(new QueryOption("$expand", value));
      111             return this;
      112         }
    = 113  
      114         /// <summary>
      115         /// Adds the specified expand value to the request.
      116         /// </summary>
      117         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      118         /// <returns>The request object to send.</returns>
    -+ 119         public IListItemVersionsCollectionRequest Expand(Expression<Func<ListItemVersion, object>> expandExpression)
      120         {
      121             if (expandExpression == null)
      122             {
      123                 throw new ArgumentNullException(nameof(expandExpression));
      124             }
      125             string error;
      126             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      127             if (value == null)
      128             {
      129                 throw new ArgumentException(error, nameof(expandExpression));
      130             }
      131             else
      132             {
      133                 this.QueryOptions.Add(new QueryOption("$expand", value));
      134             }
      135             return this;
      136         }
    = 137  
      138         /// <summary>
      139         /// Adds the specified select value to the request.
      140         /// </summary>
      141         /// <param name="value">The select value.</param>
      142         /// <returns>The request object to send.</returns>
    -+ 143         public IListItemVersionsCollectionRequest Select(string value)
      144         {
      145             this.QueryOptions.Add(new QueryOption("$select", value));
      146             return this;
      147         }
    = 148  
      149         /// <summary>
      150         /// Adds the specified select value to the request.
      151         /// </summary>
      152         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      153         /// <returns>The request object to send.</returns>
    -+ 154         public IListItemVersionsCollectionRequest Select(Expression<Func<ListItemVersion, object>> selectExpression)
      155         {
      156             if (selectExpression == null)
      157             {
      158                 throw new ArgumentNullException(nameof(selectExpression));
      159             }
      160             string error;
      161             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      162             if (value == null)
      163             {
      164                 throw new ArgumentException(error, nameof(selectExpression));
      165             }
      166             else
      167             {
      168                 this.QueryOptions.Add(new QueryOption("$select", value));
      169             }
      170             return this;
      171         }
    = 172  
      173         /// <summary>
      174         /// Adds the specified top value to the request.
      175         /// </summary>
      176         /// <param name="value">The top value.</param>
      177         /// <returns>The request object to send.</returns>
    -+ 178         public IListItemVersionsCollectionRequest Top(int value)
      179         {
      180             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      181             return this;
      182         }
    = 183  
      184         /// <summary>
      185         /// Adds the specified filter value to the request.
      186         /// </summary>
      187         /// <param name="value">The filter value.</param>
      188         /// <returns>The request object to send.</returns>
    -+ 189         public IListItemVersionsCollectionRequest Filter(string value)
      190         {
      191             this.QueryOptions.Add(new QueryOption("$filter", value));
      192             return this;
      193         }
    = 194  
      195         /// <summary>
      196         /// Adds the specified skip value to the request.
      197         /// </summary>
      198         /// <param name="value">The skip value.</param>
      199         /// <returns>The request object to send.</returns>
    -+ 200         public IListItemVersionsCollectionRequest Skip(int value)
      201         {
      202             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      203             return this;
      204         }
    = 205  
      206         /// <summary>
      207         /// Adds the specified orderby value to the request.
      208         /// </summary>
      209         /// <param name="value">The orderby value.</param>
      210         /// <returns>The request object to send.</returns>
    -+ 211         public IListItemVersionsCollectionRequest OrderBy(string value)
      212         {
      213             this.QueryOptions.Add(new QueryOption("$orderby", value));
      214             return this;
      215         }
      216     }
      217 }

   
File: ListItemVersionsCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
      13     /// <summary>
      14     /// The type ListItemVersionsCollectionPage.
      15     /// </summary>
    -+ 16     public partial class ListItemVersionsCollectionPage : CollectionPage<ListItemVersion>, IListItemVersionsCollectionPage
      17     {
    = 18         /// <summary>
      19         /// Gets the next page <see cref="IListItemVersionsCollectionRequest"/> instance.
      20         /// </summary>
    -+ 21         public IListItemVersionsCollectionRequest NextPageRequest { get; private set; }
    = 22  
      23         /// <summary>
      24         /// Initializes the NextPageRequest property.
      25         /// </summary>
    -+ 26         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      27         {
      28             if (!string.IsNullOrEmpty(nextPageLinkString))
      29             {
      30                 this.NextPageRequest = new ListItemVersionsCollectionRequest(
      31                     nextPageLinkString,
      32                     client,
      33                     null);
      34             }
      35         }
      36     }
      37 }

   
File: ListItemVersionRestoreVersionRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type ListItemVersionRestoreVersionRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class ListItemVersionRestoreVersionRequestBuilder : BaseActionMethodRequestBuilder<IListItemVersionRestoreVersionRequest>, IListItemVersionRestoreVersionRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Constructs a new <see cref="ListItemVersionRestoreVersionRequestBuilder"/>.
      22         /// </summary>
      23         /// <param name="requestUrl">The URL for the request.</param>
      24         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 25         public ListItemVersionRestoreVersionRequestBuilder(
      26             string requestUrl,
      27             IBaseClient client)
      28             : base(requestUrl, client)
      29         {
      30         }
    = 31  
      32         /// <summary>
      33         /// A method used by the base class to construct a request class instance.
      34         /// </summary>
      35         /// <param name="functionUrl">The request URL to </param>
      36         /// <param name="options">The query and header options for the request.</param>
      37         /// <returns>An instance of a specific request class.</returns>
    -+ 38         protected override IListItemVersionRestoreVersionRequest CreateRequest(string functionUrl, IEnumerable<Option> options)
      39         {
      40             var request = new ListItemVersionRestoreVersionRequest(functionUrl, this.Client, options);
    = 41  
    -+ 42             return request;
      43         }
      44     }
      45 }

   
File: ListItemVersionRestoreVersionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The type ListItemVersionRestoreVersionRequest.
      19     /// </summary>
    -+ 20     public partial class ListItemVersionRestoreVersionRequest : BaseRequest, IListItemVersionRestoreVersionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new ListItemVersionRestoreVersionRequest.
      24         /// </summary>
    -+ 25         public ListItemVersionRestoreVersionRequest(
      26             string requestUrl,
      27             IBaseClient client,
      28             IEnumerable<Option> options)
      29             : base(requestUrl, client, options)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Issues the POST request.
      35         /// </summary>
    -+ 36         public System.Threading.Tasks.Task PostAsync()
      37         {
      38             return this.PostAsync(CancellationToken.None);
      39         }
    = 40  
      41         /// <summary>
      42         /// Issues the POST request.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await for async call.</returns>
    -+ 46         public System.Threading.Tasks.Task PostAsync(
      47             CancellationToken cancellationToken)
      48         {
      49             this.Method = "POST";
      50             return this.SendAsync(null, cancellationToken);
      51         }
    = 52  
      53  
      54  
      55  
      56         /// <summary>
      57         /// Adds the specified expand value to the request.
      58         /// </summary>
      59         /// <param name="value">The expand value.</param>
      60         /// <returns>The request object to send.</returns>
    -+ 61         public IListItemVersionRestoreVersionRequest Expand(string value)
      62         {
      63             this.QueryOptions.Add(new QueryOption("$expand", value));
      64             return this;
      65         }
    = 66  
      67         /// <summary>
      68         /// Adds the specified select value to the request.
      69         /// </summary>
      70         /// <param name="value">The select value.</param>
      71         /// <returns>The request object to send.</returns>
    -+ 72         public IListItemVersionRestoreVersionRequest Select(string value)
      73         {
      74             this.QueryOptions.Add(new QueryOption("$select", value));
      75             return this;
      76         }
      77     }
      78 }

   
File: ListItemVersionRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type ListItemVersionRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class ListItemVersionRequestBuilder : BaseItemVersionRequestBuilder, IListItemVersionRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new ListItemVersionRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public ListItemVersionRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IListItemVersionRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IListItemVersionRequest Request(IEnumerable<Option> options)
      48         {
      49             return new ListItemVersionRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
      52         /// <summary>
      53         /// Gets the request builder for Fields.
      54         /// </summary>
      55         /// <returns>The <see cref="IFieldValueSetRequestBuilder"/>.</returns>
    -+ 56         public IFieldValueSetRequestBuilder Fields
      57         {
      58             get
      59             {
      60                 return new FieldValueSetRequestBuilder(this.AppendSegmentToRequestUrl("fields"), this.Client);
      61             }
      62         }
    = 63     
      64         /// <summary>
      65         /// Gets the request builder for ListItemVersionRestoreVersion.
      66         /// </summary>
      67         /// <returns>The <see cref="IListItemVersionRestoreVersionRequestBuilder"/>.</returns>
    -+ 68         public IListItemVersionRestoreVersionRequestBuilder RestoreVersion()
      69         {
      70             return new ListItemVersionRestoreVersionRequestBuilder(
      71                 this.AppendSegmentToRequestUrl("microsoft.graph.restoreVersion"),
      72                 this.Client);
      73         }
    = 74     
    -+ 75     }
      76 }

   
File: ListItemVersionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type ListItemVersionRequest.
      20     /// </summary>
    -+ 21     public partial class ListItemVersionRequest : BaseRequest, IListItemVersionRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new ListItemVersionRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public ListItemVersionRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified ListItemVersion using POST.
      39         /// </summary>
      40         /// <param name="listItemVersionToCreate">The ListItemVersion to create.</param>
      41         /// <returns>The created ListItemVersion.</returns>
    -+ 42         public System.Threading.Tasks.Task<ListItemVersion> CreateAsync(ListItemVersion listItemVersionToCreate)
      43         {
      44             return this.CreateAsync(listItemVersionToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified ListItemVersion using POST.
      49         /// </summary>
      50         /// <param name="listItemVersionToCreate">The ListItemVersion to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created ListItemVersion.</returns>
    -+ 53         public async System.Threading.Tasks.Task<ListItemVersion> CreateAsync(ListItemVersion listItemVersionToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<ListItemVersion>(listItemVersionToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified ListItemVersion.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified ListItemVersion.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<ListItemVersion>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified ListItemVersion.
      84         /// </summary>
      85         /// <returns>The ListItemVersion.</returns>
    -+ 86         public System.Threading.Tasks.Task<ListItemVersion> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified ListItemVersion.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The ListItemVersion.</returns>
    -+ 96         public async System.Threading.Tasks.Task<ListItemVersion> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<ListItemVersion>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified ListItemVersion using PATCH.
      106         /// </summary>
      107         /// <param name="listItemVersionToUpdate">The ListItemVersion to update.</param>
      108         /// <returns>The updated ListItemVersion.</returns>
    -+ 109         public System.Threading.Tasks.Task<ListItemVersion> UpdateAsync(ListItemVersion listItemVersionToUpdate)
      110         {
      111             return this.UpdateAsync(listItemVersionToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified ListItemVersion using PATCH.
      116         /// </summary>
      117         /// <param name="listItemVersionToUpdate">The ListItemVersion to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated ListItemVersion.</returns>
    -+ 120         public async System.Threading.Tasks.Task<ListItemVersion> UpdateAsync(ListItemVersion listItemVersionToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<ListItemVersion>(listItemVersionToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IListItemVersionRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IListItemVersionRequest Expand(Expression<Func<ListItemVersion, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IListItemVersionRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IListItemVersionRequest Select(Expression<Func<ListItemVersion, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="listItemVersionToInitialize">The <see cref="ListItemVersion"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(ListItemVersion listItemVersionToInitialize)
      204         {
    = 205  
    -+ 206         }
      207     }
      208 }

   
File: ListItemRequestBuilder.cs  
74         } = 74         }
      75  
      76         /// <summary>
      77         /// Gets the request builder for Versions.
      78         /// </summary>
      79         /// <returns>The <see cref="IListItemVersionsCollectionRequestBuilder"/>.</returns>
    -+ 80         public IListItemVersionsCollectionRequestBuilder Versions
      81         {
      82             get
      83             {
      84                 return new ListItemVersionsCollectionRequestBuilder(this.AppendSegmentToRequestUrl("versions"), this.Client);
      85             }
      86         }
75      = 87     
76     }   88     }
77 }   89 }

   
File: ListItemRequest.cs  
200         /// Initializes any collection properties after deserialization, like next requests for paging. = 200         /// Initializes any collection properties after deserialization, like next requests for paging.
201         /// </summary>   201         /// </summary>
202         /// <param name="listItemToInitialize">The <see cref="ListItem"/> with the collection properties to initialize.</param>   202         /// <param name="listItemToInitialize">The <see cref="ListItem"/> with the collection properties to initialize.</param>
203         private void InitializeCollectionProperties(ListItem listItemToInitialize)   203         private void InitializeCollectionProperties(ListItem listItemToInitialize)
204         {   204         {
205     205  
    -+ 206             if (listItemToInitialize != null && listItemToInitialize.AdditionalData != null)
      207             {
    = 208  
    -+ 209                 if (listItemToInitialize.Versions != null && listItemToInitialize.Versions.CurrentPage != null)
      210                 {
      211                     listItemToInitialize.Versions.AdditionalData = listItemToInitialize.AdditionalData;
    = 212  
    -+ 213                     object nextPageLink;
      214                     listItemToInitialize.AdditionalData.TryGetValue("versions@odata.nextLink", out nextPageLink);
      215                     var nextPageLinkString = nextPageLink as string;
    = 216  
    -+ 217                     if (!string.IsNullOrEmpty(nextPageLinkString))
      218                     {
      219                         listItemToInitialize.Versions.InitializeNextPageRequest(
      220                             this.Client,
      221                             nextPageLinkString);
      222                     }
      223                 }
    = 224  
    -+ 225             }
    = 226  
      227  
206         }   228         }
207     }   229     }
208 }   230 }

   
File: IVppTokenSyncLicensesRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IVppTokenSyncLicensesRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IVppTokenSyncLicensesRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <param name="options">The query and header options for the request.</param>
      24         /// <returns>The built request.</returns>
    -+ 25         IVppTokenSyncLicensesRequest Request(IEnumerable<Option> options = null);
      26     }
      27 }

   
File: IVppTokenSyncLicensesRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The interface IVppTokenSyncLicensesRequest.
      19     /// </summary>
    -+ 20     public partial interface IVppTokenSyncLicensesRequest : IBaseRequest
      21     {
    = 22  
      23  
      24         /// <summary>
      25         /// Issues the POST request.
      26         /// </summary>
    -+ 27         System.Threading.Tasks.Task<VppToken> PostAsync();
    = 28  
      29         /// <summary>
      30         /// Issues the POST request.
      31         /// </summary>
      32         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      33         /// <returns>The task to await for async call.</returns>
    -+ 34         System.Threading.Tasks.Task<VppToken> PostAsync(
      35             CancellationToken cancellationToken);
    = 36         
      37  
      38  
      39  
      40  
      41  
      42         /// <summary>
      43         /// Adds the specified expand value to the request.
      44         /// </summary>
      45         /// <param name="value">The expand value.</param>
      46         /// <returns>The request object to send.</returns>
    -+ 47         IVppTokenSyncLicensesRequest Expand(string value);
    = 48  
      49         /// <summary>
      50         /// Adds the specified select value to the request.
      51         /// </summary>
      52         /// <param name="value">The select value.</param>
      53         /// <returns>The request object to send.</returns>
    -+ 54         IVppTokenSyncLicensesRequest Select(string value);
      55     }
      56 }

   
File: IVppTokenRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IVppTokenRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IVppTokenRequestBuilder : IEntityRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IVppTokenRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IVppTokenRequest Request(IEnumerable<Option> options);
    = 32     
      33         /// <summary>
      34         /// Gets the request builder for VppTokenSyncLicenses.
      35         /// </summary>
      36         /// <returns>The <see cref="IVppTokenSyncLicensesRequestBuilder"/>.</returns>
    -+ 37         IVppTokenSyncLicensesRequestBuilder SyncLicenses();
    = 38     
    -+ 39     }
      40 }

   
File: IVppTokenRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IVppTokenRequest.
      19     /// </summary>
    -+ 20     public partial interface IVppTokenRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified VppToken using PUT.
      24         /// </summary>
      25         /// <param name="vppTokenToCreate">The VppToken to create.</param>
      26         /// <returns>The created VppToken.</returns>
    -+ 27         System.Threading.Tasks.Task<VppToken> CreateAsync(VppToken vppTokenToCreate);        /// <summary>
    = 28         /// Creates the specified VppToken using PUT.
      29         /// </summary>
      30         /// <param name="vppTokenToCreate">The VppToken to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created VppToken.</returns>
    -+ 33         System.Threading.Tasks.Task<VppToken> CreateAsync(VppToken vppTokenToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified VppToken.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified VppToken.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified VppToken.
      50         /// </summary>
      51         /// <returns>The VppToken.</returns>
    -+ 52         System.Threading.Tasks.Task<VppToken> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified VppToken.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The VppToken.</returns>
    -+ 59         System.Threading.Tasks.Task<VppToken> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified VppToken using PATCH.
      63         /// </summary>
      64         /// <param name="vppTokenToUpdate">The VppToken to update.</param>
      65         /// <returns>The updated VppToken.</returns>
    -+ 66         System.Threading.Tasks.Task<VppToken> UpdateAsync(VppToken vppTokenToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified VppToken using PATCH.
      70         /// </summary>
      71         /// <param name="vppTokenToUpdate">The VppToken to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated VppToken.</returns>
    -+ 74         System.Threading.Tasks.Task<VppToken> UpdateAsync(VppToken vppTokenToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IVppTokenRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IVppTokenRequest Expand(Expression<Func<VppToken, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IVppTokenRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IVppTokenRequest Select(Expression<Func<VppToken, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IUserRequestBuilder.cs  
85         IUserExtensionsCollectionRequestBuilder Extensions { get; } = 85         IUserExtensionsCollectionRequestBuilder Extensions { get; }
86     86  
87         /// <summary>   87         /// <summary>
      88         /// Gets the request builder for Outlook.
      89         /// </summary>
      90         /// <returns>The <see cref="IOutlookUserRequestBuilder"/>.</returns>
    -+ 91         IOutlookUserRequestBuilder Outlook { get; }
    = 92  
      93         /// <summary>
88         /// Gets the request builder for Messages.   94         /// Gets the request builder for Messages.
89         /// </summary>   95         /// </summary>
90         /// <returns>The <see cref="IUserMessagesCollectionRequestBuilder"/>.</returns>   96         /// <returns>The <see cref="IUserMessagesCollectionRequestBuilder"/>.</returns>
91         IUserMessagesCollectionRequestBuilder Messages { get; }   97         IUserMessagesCollectionRequestBuilder Messages { get; }
 
205         IUserDeviceManagementTroubleshootingEventsCollectionRequestBuilder DeviceManagementTroubleshootingEvents { get; } = 211         IUserDeviceManagementTroubleshootingEventsCollectionRequestBuilder DeviceManagementTroubleshootingEvents { get; }
      212  
      213         /// <summary>
      214         /// Gets the request builder for Activities.
      215         /// </summary>
      216         /// <returns>The <see cref="IUserActivitiesCollectionRequestBuilder"/>.</returns>
    -+ 217         IUserActivitiesCollectionRequestBuilder Activities { get; }
206      = 218     
207         /// <summary>   219         /// <summary>
208         /// Gets the request builder for UserAssignLicense.   220         /// Gets the request builder for UserAssignLicense.
209         /// </summary>   221         /// </summary>
210         /// <returns>The <see cref="IUserAssignLicenseRequestBuilder"/>.</returns>   222         /// <returns>The <see cref="IUserAssignLicenseRequestBuilder"/>.</returns>
211         IUserAssignLicenseRequestBuilder AssignLicense(   223         IUserAssignLicenseRequestBuilder AssignLicense(

   
File: IUserActivityWithReferenceRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityWithReferenceRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
    = 13  
      14     /// <summary>
      15     /// The interface IUserActivityWithReferenceRequestBuilder.
      16     /// </summary>
    -+ 17     public partial interface IUserActivityWithReferenceRequestBuilder
      18     {
    = 19         /// <summary>
      20         /// Builds the request.
      21         /// </summary>
      22         /// <returns>The built request.</returns>
    -+ 23         IUserActivityWithReferenceRequest Request();
    = 24  
      25         /// <summary>
      26         /// Builds the request.
      27         /// </summary>
      28         /// <param name="options">The query and header options for the request.</param>
      29         /// <returns>The built request.</returns>
    -+ 30         IUserActivityWithReferenceRequest Request(IEnumerable<Option> options);
    = 31  
      32         /// <summary>
      33         /// Gets the request builder for the reference of the userActivity.
      34         /// </summary>
      35         /// <returns>The <see cref="IUserActivityReferenceRequestBuilder"/>.</returns>
    -+ 36         IUserActivityReferenceRequestBuilder Reference { get; }
    = 37  
    -+ 38     }
      39 }

   
File: IUserActivityWithReferenceRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityWithReferenceRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IUserActivityWithReferenceRequest.
      19     /// </summary>
    -+ 20     public partial interface IUserActivityWithReferenceRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Gets the specified UserActivity.
      24         /// </summary>
      25         /// <returns>The UserActivity.</returns>
    -+ 26         System.Threading.Tasks.Task<UserActivity> GetAsync();
    = 27  
      28         /// <summary>
      29         /// Gets the specified UserActivity.
      30         /// </summary>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The UserActivity.</returns>
    -+ 33         System.Threading.Tasks.Task<UserActivity> GetAsync(CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Adds the specified expand value to the request.
      37         /// </summary>
      38         /// <param name="value">The expand value.</param>
      39         /// <returns>The request object to send.</returns>
    -+ 40         IUserActivityWithReferenceRequest Expand(string value);
    = 41  
      42         /// <summary>
      43         /// Adds the specified expand value to the request.
      44         /// </summary>
      45         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      46         /// <returns>The request object to send.</returns>
    -+ 47         IUserActivityWithReferenceRequest Expand(Expression<Func<UserActivity, object>> expandExpression);
    = 48  
      49         /// <summary>
      50         /// Adds the specified select value to the request.
      51         /// </summary>
      52         /// <param name="value">The select value.</param>
      53         /// <returns>The request object to send.</returns>
    -+ 54         IUserActivityWithReferenceRequest Select(string value);
    = 55  
      56         /// <summary>
      57         /// Adds the specified select value to the request.
      58         /// </summary>
      59         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      60         /// <returns>The request object to send.</returns>
    -+ 61         IUserActivityWithReferenceRequest Select(Expression<Func<UserActivity, object>> selectExpression);
    = 62  
    -+ 63     }
      64 }

   
File: IUserActivityRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IUserActivityRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IUserActivityRequestBuilder : IEntityRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IUserActivityRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IUserActivityRequest Request(IEnumerable<Option> options);
    = 32     
      33         /// <summary>
      34         /// Gets the request builder for HistoryItems.
      35         /// </summary>
      36         /// <returns>The <see cref="IUserActivityHistoryItemsCollectionRequestBuilder"/>.</returns>
    -+ 37         IUserActivityHistoryItemsCollectionRequestBuilder HistoryItems { get; }
    = 38     
      39         
      40     
    -+ 41     }
      42 }

   
File: IUserActivityRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IUserActivityRequest.
      19     /// </summary>
    -+ 20     public partial interface IUserActivityRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified UserActivity using PUT.
      24         /// </summary>
      25         /// <param name="userActivityToCreate">The UserActivity to create.</param>
      26         /// <returns>The created UserActivity.</returns>
    -+ 27         System.Threading.Tasks.Task<UserActivity> CreateAsync(UserActivity userActivityToCreate);        /// <summary>
    = 28         /// Creates the specified UserActivity using PUT.
      29         /// </summary>
      30         /// <param name="userActivityToCreate">The UserActivity to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created UserActivity.</returns>
    -+ 33         System.Threading.Tasks.Task<UserActivity> CreateAsync(UserActivity userActivityToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified UserActivity.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified UserActivity.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified UserActivity.
      50         /// </summary>
      51         /// <returns>The UserActivity.</returns>
    -+ 52         System.Threading.Tasks.Task<UserActivity> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified UserActivity.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The UserActivity.</returns>
    -+ 59         System.Threading.Tasks.Task<UserActivity> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified UserActivity using PATCH.
      63         /// </summary>
      64         /// <param name="userActivityToUpdate">The UserActivity to update.</param>
      65         /// <returns>The updated UserActivity.</returns>
    -+ 66         System.Threading.Tasks.Task<UserActivity> UpdateAsync(UserActivity userActivityToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified UserActivity using PATCH.
      70         /// </summary>
      71         /// <param name="userActivityToUpdate">The UserActivity to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated UserActivity.</returns>
    -+ 74         System.Threading.Tasks.Task<UserActivity> UpdateAsync(UserActivity userActivityToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IUserActivityRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IUserActivityRequest Expand(Expression<Func<UserActivity, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IUserActivityRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IUserActivityRequest Select(Expression<Func<UserActivity, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IUserActivityReferenceRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityReferenceRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
    = 13  
      14     /// <summary>
      15     /// The interface IUserActivityReferenceRequestBuilder.
      16     /// </summary>
    -+ 17     public partial interface IUserActivityReferenceRequestBuilder
      18     {
    = 19         /// <summary>
      20         /// Builds the request.
      21         /// </summary>
      22         /// <returns>The built request.</returns>
    -+ 23         IUserActivityReferenceRequest Request();
    = 24  
      25         /// <summary>
      26         /// Builds the request.
      27         /// </summary>
      28         /// <param name="options">The query and header options for the request.</param>
      29         /// <returns>The built request.</returns>
    -+ 30         IUserActivityReferenceRequest Request(IEnumerable<Option> options);
      31     }
      32 }

   
File: IUserActivityReferenceRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityReferenceRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Net.Http;
      13     using System.Threading;
    = 14  
      15     /// <summary>
      16     /// The interface IUserActivityReferenceRequest.
      17     /// </summary>
    -+ 18     public partial interface IUserActivityReferenceRequest : IBaseRequest
      19     {
    = 20         /// <summary>
      21         /// Deletes the specified UserActivity reference.
      22         /// </summary>
      23         /// <returns>The task to await.</returns>
    -+ 24         System.Threading.Tasks.Task DeleteAsync();
    = 25  
      26         /// <summary>
      27         /// Deletes the specified UserActivity reference.
      28         /// </summary>
      29         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      30         /// <returns>The task to await.</returns>
    -+ 31         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 32  
      33         /// <summary>
      34         /// Puts the specified UserActivity reference.
      35         /// </summary>
      36         /// <param name="id">The UserActivity reference reference to update.</param>
      37         /// <returns>The task to await.</returns>
    -+ 38         System.Threading.Tasks.Task PutAsync(string id);
    = 39  
      40         /// <summary>
      41         /// Puts the specified UserActivity reference.
      42         /// </summary>
      43         /// <param name="id">The UserActivity reference reference to update.</param>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task PutAsync(string id, CancellationToken cancellationToken);
      47     }
      48 }

   
File: IUserActivityRecentRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IUserActivityRecentRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IUserActivityRecentRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <param name="options">The query and header options for the request.</param>
      24         /// <returns>The built request.</returns>
    -+ 25         IUserActivityRecentRequest Request(IEnumerable<Option> options = null);
      26     }
      27 }

   
File: IUserActivityRecentRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The interface IUserActivityRecentRequest.
      19     /// </summary>
    -+ 20     public partial interface IUserActivityRecentRequest : IBaseRequest
      21     {
    = 22  
      23  
      24         /// <summary>
      25         /// Issues the GET request.
      26         /// </summary>
    -+ 27         System.Threading.Tasks.Task<IUserActivityRecentCollectionPage> GetAsync();
    = 28         
      29         /// <summary>
      30         /// Issues the GET request.
      31         /// </summary>
      32         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      33         /// <returns>The task to await for async call.</returns>
    -+ 34         System.Threading.Tasks.Task<IUserActivityRecentCollectionPage> GetAsync(
      35             CancellationToken cancellationToken);
    = 36   
      37  
      38  
      39  
      40  
      41         /// <summary>
      42         /// Adds the specified expand value to the request.
      43         /// </summary>
      44         /// <param name="value">The expand value.</param>
      45         /// <returns>The request object to send.</returns>
    -+ 46         IUserActivityRecentRequest Expand(string value);
    = 47  
      48         /// <summary>
      49         /// Adds the specified select value to the request.
      50         /// </summary>
      51         /// <param name="value">The select value.</param>
      52         /// <returns>The request object to send.</returns>
    -+ 53         IUserActivityRecentRequest Select(string value);
    = 54  
      55         /// <summary>
      56         /// Adds the specified top value to the request.
      57         /// </summary>
      58         /// <param name="value">The top value.</param>
      59         /// <returns>The request object to send.</returns>
    -+ 60         IUserActivityRecentRequest Top(int value);
    = 61  
      62         /// <summary>
      63         /// Adds the specified filter value to the request.
      64         /// </summary>
      65         /// <param name="value">The filter value.</param>
      66         /// <returns>The request object to send.</returns>
    -+ 67         IUserActivityRecentRequest Filter(string value);
    = 68  
      69         /// <summary>
      70         /// Adds the specified skip value to the request.
      71         /// </summary>
      72         /// <param name="value">The skip value.</param>
      73         /// <returns>The request object to send.</returns>
    -+ 74         IUserActivityRecentRequest Skip(int value);
    = 75  
      76         /// <summary>
      77         /// Adds the specified orderby value to the request.
      78         /// </summary>
      79         /// <param name="value">The orderby value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IUserActivityRecentRequest OrderBy(string value);
      82     }
      83 }

   
File: IUserActivityRecentCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using Newtonsoft.Json;
    = 12  
      13     /// <summary>
      14     /// The interface IUserActivityRecentCollectionPage.
      15     /// </summary>
    -+ 16     [JsonConverter(typeof(InterfaceConverter<UserActivityRecentCollectionPage>))]
      17     public interface IUserActivityRecentCollectionPage : ICollectionPage<UserActivity>
      18     {
    = 19         /// <summary>
      20         /// Gets the next page <see cref="IUserActivityRecentRequest"/> instance.
      21         /// </summary>
    -+ 22         IUserActivityRecentRequest NextPageRequest { get; }
    = 23  
      24         /// <summary>
      25         /// Initializes the NextPageRequest property.
      26         /// </summary>
    -+ 27         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      28     }
      29 }

   
File: IUserActivityHistoryItemsCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The interface IUserActivityHistoryItemsCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial interface IUserActivityHistoryItemsCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Builds the request.
      20         /// </summary>
      21         /// <returns>The built request.</returns>
    -+ 22         IUserActivityHistoryItemsCollectionRequest Request();
    = 23  
      24         /// <summary>
      25         /// Builds the request.
      26         /// </summary>
      27         /// <param name="options">The query and header options for the request.</param>
      28         /// <returns>The built request.</returns>
    -+ 29         IUserActivityHistoryItemsCollectionRequest Request(IEnumerable<Option> options);
    = 30  
      31         /// <summary>
      32         /// Gets an <see cref="IActivityHistoryItemRequestBuilder"/> for the specified ActivityHistoryItem.
      33         /// </summary>
      34         /// <param name="id">The ID for the ActivityHistoryItem.</param>
      35         /// <returns>The <see cref="IActivityHistoryItemRequestBuilder"/>.</returns>
    -+ 36         IActivityHistoryItemRequestBuilder this[string id] { get; }
    = 37  
      38         
    -+ 39     }
      40 }

   
File: IUserActivityHistoryItemsCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IUserActivityHistoryItemsCollectionRequest.
      19     /// </summary>
    -+ 20     public partial interface IUserActivityHistoryItemsCollectionRequest : IBaseRequest
      21     {
    = 22         
      23         /// <summary>
      24         /// Adds the specified ActivityHistoryItem to the collection via POST.
      25         /// </summary>
      26         /// <param name="activityHistoryItem">The ActivityHistoryItem to add.</param>
      27         /// <returns>The created ActivityHistoryItem.</returns>
    -+ 28         System.Threading.Tasks.Task<ActivityHistoryItem> AddAsync(ActivityHistoryItem activityHistoryItem);
    = 29  
      30         /// <summary>
      31         /// Adds the specified ActivityHistoryItem to the collection via POST.
      32         /// </summary>
      33         /// <param name="activityHistoryItem">The ActivityHistoryItem to add.</param>
      34         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      35         /// <returns>The created ActivityHistoryItem.</returns>
    -+ 36         System.Threading.Tasks.Task<ActivityHistoryItem> AddAsync(ActivityHistoryItem activityHistoryItem, CancellationToken cancellationToken);
    = 37         /// <summary>
      38         /// Gets the collection page.
      39         /// </summary>
      40         /// <returns>The collection page.</returns>
    -+ 41         System.Threading.Tasks.Task<IUserActivityHistoryItemsCollectionPage> GetAsync();
    = 42  
      43         /// <summary>
      44         /// Gets the collection page.
      45         /// </summary>
      46         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      47         /// <returns>The collection page.</returns>
    -+ 48         System.Threading.Tasks.Task<IUserActivityHistoryItemsCollectionPage> GetAsync(CancellationToken cancellationToken);
    = 49  
      50         /// <summary>
      51         /// Adds the specified expand value to the request.
      52         /// </summary>
      53         /// <param name="value">The expand value.</param>
      54         /// <returns>The request object to send.</returns>
    -+ 55         IUserActivityHistoryItemsCollectionRequest Expand(string value);
    = 56  
      57         /// <summary>
      58         /// Adds the specified expand value to the request.
      59         /// </summary>
      60         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      61         /// <returns>The request object to send.</returns>
    -+ 62         IUserActivityHistoryItemsCollectionRequest Expand(Expression<Func<ActivityHistoryItem, object>> expandExpression);
    = 63  
      64         /// <summary>
      65         /// Adds the specified select value to the request.
      66         /// </summary>
      67         /// <param name="value">The select value.</param>
      68         /// <returns>The request object to send.</returns>
    -+ 69         IUserActivityHistoryItemsCollectionRequest Select(string value);
    = 70  
      71         /// <summary>
      72         /// Adds the specified select value to the request.
      73         /// </summary>
      74         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      75         /// <returns>The request object to send.</returns>
    -+ 76         IUserActivityHistoryItemsCollectionRequest Select(Expression<Func<ActivityHistoryItem, object>> selectExpression);
    = 77  
      78         /// <summary>
      79         /// Adds the specified top value to the request.
      80         /// </summary>
      81         /// <param name="value">The top value.</param>
      82         /// <returns>The request object to send.</returns>
    -+ 83         IUserActivityHistoryItemsCollectionRequest Top(int value);
    = 84  
      85         /// <summary>
      86         /// Adds the specified filter value to the request.
      87         /// </summary>
      88         /// <param name="value">The filter value.</param>
      89         /// <returns>The request object to send.</returns>
    -+ 90         IUserActivityHistoryItemsCollectionRequest Filter(string value);
    = 91  
      92         /// <summary>
      93         /// Adds the specified skip value to the request.
      94         /// </summary>
      95         /// <param name="value">The skip value.</param>
      96         /// <returns>The request object to send.</returns>
    -+ 97         IUserActivityHistoryItemsCollectionRequest Skip(int value);
    = 98  
      99         /// <summary>
      100         /// Adds the specified orderby value to the request.
      101         /// </summary>
      102         /// <param name="value">The orderby value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         IUserActivityHistoryItemsCollectionRequest OrderBy(string value);
      105     }
      106 }

   
File: IUserActivityHistoryItemsCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
    -+ 13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The interface IUserActivityHistoryItemsCollectionPage.
      17     /// </summary>
    -+ 18     [JsonConverter(typeof(InterfaceConverter<UserActivityHistoryItemsCollectionPage>))]
      19     public interface IUserActivityHistoryItemsCollectionPage : ICollectionPage<ActivityHistoryItem>
      20     {
    = 21         /// <summary>
      22         /// Gets the next page <see cref="IUserActivityHistoryItemsCollectionRequest"/> instance.
      23         /// </summary>
    -+ 24         IUserActivityHistoryItemsCollectionRequest NextPageRequest { get; }
    = 25  
      26         /// <summary>
      27         /// Initializes the NextPageRequest property.
      28         /// </summary>
    -+ 29         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      30     }
      31 }

   
File: IUserActivitiesCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The interface IUserActivitiesCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial interface IUserActivitiesCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Builds the request.
      20         /// </summary>
      21         /// <returns>The built request.</returns>
    -+ 22         IUserActivitiesCollectionRequest Request();
    = 23  
      24         /// <summary>
      25         /// Builds the request.
      26         /// </summary>
      27         /// <param name="options">The query and header options for the request.</param>
      28         /// <returns>The built request.</returns>
    -+ 29         IUserActivitiesCollectionRequest Request(IEnumerable<Option> options);
    = 30  
      31         /// <summary>
      32         /// Gets an <see cref="IUserActivityRequestBuilder"/> for the specified UserActivity.
      33         /// </summary>
      34         /// <param name="id">The ID for the UserActivity.</param>
      35         /// <returns>The <see cref="IUserActivityRequestBuilder"/>.</returns>
    -+ 36         IUserActivityRequestBuilder this[string id] { get; }
    = 37  
      38         /// <summary>
      39         /// Gets the request builder for UserActivityRecent.
      40         /// </summary>
      41         /// <returns>The <see cref="IUserActivityRecentRequestBuilder"/>.</returns>
    -+ 42         IUserActivityRecentRequestBuilder Recent();
      43     }
      44 }

   
File: IUserActivitiesCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IUserActivitiesCollectionRequest.
      19     /// </summary>
    -+ 20     public partial interface IUserActivitiesCollectionRequest : IBaseRequest
      21     {
    = 22         
      23         /// <summary>
      24         /// Adds the specified UserActivity to the collection via POST.
      25         /// </summary>
      26         /// <param name="userActivity">The UserActivity to add.</param>
      27         /// <returns>The created UserActivity.</returns>
    -+ 28         System.Threading.Tasks.Task<UserActivity> AddAsync(UserActivity userActivity);
    = 29  
      30         /// <summary>
      31         /// Adds the specified UserActivity to the collection via POST.
      32         /// </summary>
      33         /// <param name="userActivity">The UserActivity to add.</param>
      34         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      35         /// <returns>The created UserActivity.</returns>
    -+ 36         System.Threading.Tasks.Task<UserActivity> AddAsync(UserActivity userActivity, CancellationToken cancellationToken);
    = 37         /// <summary>
      38         /// Gets the collection page.
      39         /// </summary>
      40         /// <returns>The collection page.</returns>
    -+ 41         System.Threading.Tasks.Task<IUserActivitiesCollectionPage> GetAsync();
    = 42  
      43         /// <summary>
      44         /// Gets the collection page.
      45         /// </summary>
      46         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      47         /// <returns>The collection page.</returns>
    -+ 48         System.Threading.Tasks.Task<IUserActivitiesCollectionPage> GetAsync(CancellationToken cancellationToken);
    = 49  
      50         /// <summary>
      51         /// Adds the specified expand value to the request.
      52         /// </summary>
      53         /// <param name="value">The expand value.</param>
      54         /// <returns>The request object to send.</returns>
    -+ 55         IUserActivitiesCollectionRequest Expand(string value);
    = 56  
      57         /// <summary>
      58         /// Adds the specified expand value to the request.
      59         /// </summary>
      60         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      61         /// <returns>The request object to send.</returns>
    -+ 62         IUserActivitiesCollectionRequest Expand(Expression<Func<UserActivity, object>> expandExpression);
    = 63  
      64         /// <summary>
      65         /// Adds the specified select value to the request.
      66         /// </summary>
      67         /// <param name="value">The select value.</param>
      68         /// <returns>The request object to send.</returns>
    -+ 69         IUserActivitiesCollectionRequest Select(string value);
    = 70  
      71         /// <summary>
      72         /// Adds the specified select value to the request.
      73         /// </summary>
      74         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      75         /// <returns>The request object to send.</returns>
    -+ 76         IUserActivitiesCollectionRequest Select(Expression<Func<UserActivity, object>> selectExpression);
    = 77  
      78         /// <summary>
      79         /// Adds the specified top value to the request.
      80         /// </summary>
      81         /// <param name="value">The top value.</param>
      82         /// <returns>The request object to send.</returns>
    -+ 83         IUserActivitiesCollectionRequest Top(int value);
    = 84  
      85         /// <summary>
      86         /// Adds the specified filter value to the request.
      87         /// </summary>
      88         /// <param name="value">The filter value.</param>
      89         /// <returns>The request object to send.</returns>
    -+ 90         IUserActivitiesCollectionRequest Filter(string value);
    = 91  
      92         /// <summary>
      93         /// Adds the specified skip value to the request.
      94         /// </summary>
      95         /// <param name="value">The skip value.</param>
      96         /// <returns>The request object to send.</returns>
    -+ 97         IUserActivitiesCollectionRequest Skip(int value);
    = 98  
      99         /// <summary>
      100         /// Adds the specified orderby value to the request.
      101         /// </summary>
      102         /// <param name="value">The orderby value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         IUserActivitiesCollectionRequest OrderBy(string value);
      105     }
      106 }

   
File: IUserActivitiesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
    -+ 13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The interface IUserActivitiesCollectionPage.
      17     /// </summary>
    -+ 18     [JsonConverter(typeof(InterfaceConverter<UserActivitiesCollectionPage>))]
      19     public interface IUserActivitiesCollectionPage : ICollectionPage<UserActivity>
      20     {
    = 21         /// <summary>
      22         /// Gets the next page <see cref="IUserActivitiesCollectionRequest"/> instance.
      23         /// </summary>
    -+ 24         IUserActivitiesCollectionRequest NextPageRequest { get; }
    = 25  
      26         /// <summary>
      27         /// Initializes the NextPageRequest property.
      28         /// </summary>
    -+ 29         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      30     }
      31 }

   
File: IOutlookUserSupportedTimeZonesRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IOutlookUserSupportedTimeZonesRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IOutlookUserSupportedTimeZonesRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <param name="options">The query and header options for the request.</param>
      24         /// <returns>The built request.</returns>
    -+ 25         IOutlookUserSupportedTimeZonesRequest Request(IEnumerable<Option> options = null);
      26     }
      27 }

   
File: IOutlookUserSupportedTimeZonesRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The interface IOutlookUserSupportedTimeZonesRequest.
      19     /// </summary>
    -+ 20     public partial interface IOutlookUserSupportedTimeZonesRequest : IBaseRequest
      21     {
    = 22  
      23  
      24         /// <summary>
      25         /// Issues the GET request.
      26         /// </summary>
    -+ 27         System.Threading.Tasks.Task<IOutlookUserSupportedTimeZonesCollectionPage> GetAsync();
    = 28         
      29         /// <summary>
      30         /// Issues the GET request.
      31         /// </summary>
      32         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      33         /// <returns>The task to await for async call.</returns>
    -+ 34         System.Threading.Tasks.Task<IOutlookUserSupportedTimeZonesCollectionPage> GetAsync(
      35             CancellationToken cancellationToken);
    = 36   
      37  
      38  
      39  
      40  
      41         /// <summary>
      42         /// Adds the specified expand value to the request.
      43         /// </summary>
      44         /// <param name="value">The expand value.</param>
      45         /// <returns>The request object to send.</returns>
    -+ 46         IOutlookUserSupportedTimeZonesRequest Expand(string value);
    = 47  
      48         /// <summary>
      49         /// Adds the specified select value to the request.
      50         /// </summary>
      51         /// <param name="value">The select value.</param>
      52         /// <returns>The request object to send.</returns>
    -+ 53         IOutlookUserSupportedTimeZonesRequest Select(string value);
    = 54  
      55         /// <summary>
      56         /// Adds the specified top value to the request.
      57         /// </summary>
      58         /// <param name="value">The top value.</param>
      59         /// <returns>The request object to send.</returns>
    -+ 60         IOutlookUserSupportedTimeZonesRequest Top(int value);
    = 61  
      62         /// <summary>
      63         /// Adds the specified filter value to the request.
      64         /// </summary>
      65         /// <param name="value">The filter value.</param>
      66         /// <returns>The request object to send.</returns>
    -+ 67         IOutlookUserSupportedTimeZonesRequest Filter(string value);
    = 68  
      69         /// <summary>
      70         /// Adds the specified skip value to the request.
      71         /// </summary>
      72         /// <param name="value">The skip value.</param>
      73         /// <returns>The request object to send.</returns>
    -+ 74         IOutlookUserSupportedTimeZonesRequest Skip(int value);
    = 75  
      76         /// <summary>
      77         /// Adds the specified orderby value to the request.
      78         /// </summary>
      79         /// <param name="value">The orderby value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IOutlookUserSupportedTimeZonesRequest OrderBy(string value);
      82     }
      83 }

   
File: IOutlookUserSupportedTimeZonesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using Newtonsoft.Json;
    = 12  
      13     /// <summary>
      14     /// The interface IOutlookUserSupportedTimeZonesCollectionPage.
      15     /// </summary>
    -+ 16     [JsonConverter(typeof(InterfaceConverter<OutlookUserSupportedTimeZonesCollectionPage>))]
      17     public interface IOutlookUserSupportedTimeZonesCollectionPage : ICollectionPage<TimeZoneInformation>
      18     {
    = 19         /// <summary>
      20         /// Gets the next page <see cref="IOutlookUserSupportedTimeZonesRequest"/> instance.
      21         /// </summary>
    -+ 22         IOutlookUserSupportedTimeZonesRequest NextPageRequest { get; }
    = 23  
      24         /// <summary>
      25         /// Initializes the NextPageRequest property.
      26         /// </summary>
    -+ 27         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      28     }
      29 }

   
File: IOutlookUserSupportedLanguagesRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IOutlookUserSupportedLanguagesRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IOutlookUserSupportedLanguagesRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <param name="options">The query and header options for the request.</param>
      24         /// <returns>The built request.</returns>
    -+ 25         IOutlookUserSupportedLanguagesRequest Request(IEnumerable<Option> options = null);
      26     }
      27 }

   
File: IOutlookUserSupportedLanguagesRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The interface IOutlookUserSupportedLanguagesRequest.
      19     /// </summary>
    -+ 20     public partial interface IOutlookUserSupportedLanguagesRequest : IBaseRequest
      21     {
    = 22  
      23  
      24         /// <summary>
      25         /// Issues the GET request.
      26         /// </summary>
    -+ 27         System.Threading.Tasks.Task<IOutlookUserSupportedLanguagesCollectionPage> GetAsync();
    = 28         
      29         /// <summary>
      30         /// Issues the GET request.
      31         /// </summary>
      32         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      33         /// <returns>The task to await for async call.</returns>
    -+ 34         System.Threading.Tasks.Task<IOutlookUserSupportedLanguagesCollectionPage> GetAsync(
      35             CancellationToken cancellationToken);
    = 36   
      37  
      38  
      39  
      40  
      41         /// <summary>
      42         /// Adds the specified expand value to the request.
      43         /// </summary>
      44         /// <param name="value">The expand value.</param>
      45         /// <returns>The request object to send.</returns>
    -+ 46         IOutlookUserSupportedLanguagesRequest Expand(string value);
    = 47  
      48         /// <summary>
      49         /// Adds the specified select value to the request.
      50         /// </summary>
      51         /// <param name="value">The select value.</param>
      52         /// <returns>The request object to send.</returns>
    -+ 53         IOutlookUserSupportedLanguagesRequest Select(string value);
    = 54  
      55         /// <summary>
      56         /// Adds the specified top value to the request.
      57         /// </summary>
      58         /// <param name="value">The top value.</param>
      59         /// <returns>The request object to send.</returns>
    -+ 60         IOutlookUserSupportedLanguagesRequest Top(int value);
    = 61  
      62         /// <summary>
      63         /// Adds the specified filter value to the request.
      64         /// </summary>
      65         /// <param name="value">The filter value.</param>
      66         /// <returns>The request object to send.</returns>
    -+ 67         IOutlookUserSupportedLanguagesRequest Filter(string value);
    = 68  
      69         /// <summary>
      70         /// Adds the specified skip value to the request.
      71         /// </summary>
      72         /// <param name="value">The skip value.</param>
      73         /// <returns>The request object to send.</returns>
    -+ 74         IOutlookUserSupportedLanguagesRequest Skip(int value);
    = 75  
      76         /// <summary>
      77         /// Adds the specified orderby value to the request.
      78         /// </summary>
      79         /// <param name="value">The orderby value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IOutlookUserSupportedLanguagesRequest OrderBy(string value);
      82     }
      83 }

   
File: IOutlookUserSupportedLanguagesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using Newtonsoft.Json;
    = 12  
      13     /// <summary>
      14     /// The interface IOutlookUserSupportedLanguagesCollectionPage.
      15     /// </summary>
    -+ 16     [JsonConverter(typeof(InterfaceConverter<OutlookUserSupportedLanguagesCollectionPage>))]
      17     public interface IOutlookUserSupportedLanguagesCollectionPage : ICollectionPage<LocaleInfo>
      18     {
    = 19         /// <summary>
      20         /// Gets the next page <see cref="IOutlookUserSupportedLanguagesRequest"/> instance.
      21         /// </summary>
    -+ 22         IOutlookUserSupportedLanguagesRequest NextPageRequest { get; }
    = 23  
      24         /// <summary>
      25         /// Initializes the NextPageRequest property.
      26         /// </summary>
    -+ 27         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      28     }
      29 }

   
File: IOutlookUserRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IOutlookUserRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IOutlookUserRequestBuilder : IEntityRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IOutlookUserRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IOutlookUserRequest Request(IEnumerable<Option> options);
    = 32     
      33         /// <summary>
      34         /// Gets the request builder for MasterCategories.
      35         /// </summary>
      36         /// <returns>The <see cref="IOutlookUserMasterCategoriesCollectionRequestBuilder"/>.</returns>
    -+ 37         IOutlookUserMasterCategoriesCollectionRequestBuilder MasterCategories { get; }
    = 38     
      39         /// <summary>
      40         /// Gets the request builder for OutlookUserSupportedLanguages.
      41         /// </summary>
      42         /// <returns>The <see cref="IOutlookUserSupportedLanguagesRequestBuilder"/>.</returns>
    -+ 43         IOutlookUserSupportedLanguagesRequestBuilder SupportedLanguages();
    = 44  
      45         /// <summary>
      46         /// Gets the request builder for OutlookUserSupportedTimeZones.
      47         /// </summary>
      48         /// <returns>The <see cref="IOutlookUserSupportedTimeZonesRequestBuilder"/>.</returns>
    -+ 49         IOutlookUserSupportedTimeZonesRequestBuilder SupportedTimeZones();
    = 50  
      51         /// <summary>
      52         /// Gets the request builder for OutlookUserSupportedTimeZones.
      53         /// </summary>
      54         /// <returns>The <see cref="IOutlookUserSupportedTimeZonesRequestBuilder"/>.</returns>
    -+ 55         IOutlookUserSupportedTimeZonesRequestBuilder SupportedTimeZones(
      56             TimeZoneStandard TimeZoneStandard);
    = 57     
    -+ 58     }
      59 }

   
File: IOutlookUserRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IOutlookUserRequest.
      19     /// </summary>
    -+ 20     public partial interface IOutlookUserRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified OutlookUser using PUT.
      24         /// </summary>
      25         /// <param name="outlookUserToCreate">The OutlookUser to create.</param>
      26         /// <returns>The created OutlookUser.</returns>
    -+ 27         System.Threading.Tasks.Task<OutlookUser> CreateAsync(OutlookUser outlookUserToCreate);        /// <summary>
    = 28         /// Creates the specified OutlookUser using PUT.
      29         /// </summary>
      30         /// <param name="outlookUserToCreate">The OutlookUser to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created OutlookUser.</returns>
    -+ 33         System.Threading.Tasks.Task<OutlookUser> CreateAsync(OutlookUser outlookUserToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified OutlookUser.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified OutlookUser.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified OutlookUser.
      50         /// </summary>
      51         /// <returns>The OutlookUser.</returns>
    -+ 52         System.Threading.Tasks.Task<OutlookUser> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified OutlookUser.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The OutlookUser.</returns>
    -+ 59         System.Threading.Tasks.Task<OutlookUser> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified OutlookUser using PATCH.
      63         /// </summary>
      64         /// <param name="outlookUserToUpdate">The OutlookUser to update.</param>
      65         /// <returns>The updated OutlookUser.</returns>
    -+ 66         System.Threading.Tasks.Task<OutlookUser> UpdateAsync(OutlookUser outlookUserToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified OutlookUser using PATCH.
      70         /// </summary>
      71         /// <param name="outlookUserToUpdate">The OutlookUser to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated OutlookUser.</returns>
    -+ 74         System.Threading.Tasks.Task<OutlookUser> UpdateAsync(OutlookUser outlookUserToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IOutlookUserRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IOutlookUserRequest Expand(Expression<Func<OutlookUser, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IOutlookUserRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IOutlookUserRequest Select(Expression<Func<OutlookUser, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IOutlookUserMasterCategoriesCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The interface IOutlookUserMasterCategoriesCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial interface IOutlookUserMasterCategoriesCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Builds the request.
      20         /// </summary>
      21         /// <returns>The built request.</returns>
    -+ 22         IOutlookUserMasterCategoriesCollectionRequest Request();
    = 23  
      24         /// <summary>
      25         /// Builds the request.
      26         /// </summary>
      27         /// <param name="options">The query and header options for the request.</param>
      28         /// <returns>The built request.</returns>
    -+ 29         IOutlookUserMasterCategoriesCollectionRequest Request(IEnumerable<Option> options);
    = 30  
      31         /// <summary>
      32         /// Gets an <see cref="IOutlookCategoryRequestBuilder"/> for the specified OutlookCategory.
      33         /// </summary>
      34         /// <param name="id">The ID for the OutlookCategory.</param>
      35         /// <returns>The <see cref="IOutlookCategoryRequestBuilder"/>.</returns>
    -+ 36         IOutlookCategoryRequestBuilder this[string id] { get; }
    = 37  
      38         
    -+ 39     }
      40 }

   
File: IOutlookUserMasterCategoriesCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IOutlookUserMasterCategoriesCollectionRequest.
      19     /// </summary>
    -+ 20     public partial interface IOutlookUserMasterCategoriesCollectionRequest : IBaseRequest
      21     {
    = 22         
      23         /// <summary>
      24         /// Adds the specified OutlookCategory to the collection via POST.
      25         /// </summary>
      26         /// <param name="outlookCategory">The OutlookCategory to add.</param>
      27         /// <returns>The created OutlookCategory.</returns>
    -+ 28         System.Threading.Tasks.Task<OutlookCategory> AddAsync(OutlookCategory outlookCategory);
    = 29  
      30         /// <summary>
      31         /// Adds the specified OutlookCategory to the collection via POST.
      32         /// </summary>
      33         /// <param name="outlookCategory">The OutlookCategory to add.</param>
      34         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      35         /// <returns>The created OutlookCategory.</returns>
    -+ 36         System.Threading.Tasks.Task<OutlookCategory> AddAsync(OutlookCategory outlookCategory, CancellationToken cancellationToken);
    = 37         /// <summary>
      38         /// Gets the collection page.
      39         /// </summary>
      40         /// <returns>The collection page.</returns>
    -+ 41         System.Threading.Tasks.Task<IOutlookUserMasterCategoriesCollectionPage> GetAsync();
    = 42  
      43         /// <summary>
      44         /// Gets the collection page.
      45         /// </summary>
      46         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      47         /// <returns>The collection page.</returns>
    -+ 48         System.Threading.Tasks.Task<IOutlookUserMasterCategoriesCollectionPage> GetAsync(CancellationToken cancellationToken);
    = 49  
      50         /// <summary>
      51         /// Adds the specified expand value to the request.
      52         /// </summary>
      53         /// <param name="value">The expand value.</param>
      54         /// <returns>The request object to send.</returns>
    -+ 55         IOutlookUserMasterCategoriesCollectionRequest Expand(string value);
    = 56  
      57         /// <summary>
      58         /// Adds the specified expand value to the request.
      59         /// </summary>
      60         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      61         /// <returns>The request object to send.</returns>
    -+ 62         IOutlookUserMasterCategoriesCollectionRequest Expand(Expression<Func<OutlookCategory, object>> expandExpression);
    = 63  
      64         /// <summary>
      65         /// Adds the specified select value to the request.
      66         /// </summary>
      67         /// <param name="value">The select value.</param>
      68         /// <returns>The request object to send.</returns>
    -+ 69         IOutlookUserMasterCategoriesCollectionRequest Select(string value);
    = 70  
      71         /// <summary>
      72         /// Adds the specified select value to the request.
      73         /// </summary>
      74         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      75         /// <returns>The request object to send.</returns>
    -+ 76         IOutlookUserMasterCategoriesCollectionRequest Select(Expression<Func<OutlookCategory, object>> selectExpression);
    = 77  
      78         /// <summary>
      79         /// Adds the specified top value to the request.
      80         /// </summary>
      81         /// <param name="value">The top value.</param>
      82         /// <returns>The request object to send.</returns>
    -+ 83         IOutlookUserMasterCategoriesCollectionRequest Top(int value);
    = 84  
      85         /// <summary>
      86         /// Adds the specified filter value to the request.
      87         /// </summary>
      88         /// <param name="value">The filter value.</param>
      89         /// <returns>The request object to send.</returns>
    -+ 90         IOutlookUserMasterCategoriesCollectionRequest Filter(string value);
    = 91  
      92         /// <summary>
      93         /// Adds the specified skip value to the request.
      94         /// </summary>
      95         /// <param name="value">The skip value.</param>
      96         /// <returns>The request object to send.</returns>
    -+ 97         IOutlookUserMasterCategoriesCollectionRequest Skip(int value);
    = 98  
      99         /// <summary>
      100         /// Adds the specified orderby value to the request.
      101         /// </summary>
      102         /// <param name="value">The orderby value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         IOutlookUserMasterCategoriesCollectionRequest OrderBy(string value);
      105     }
      106 }

   
File: IOutlookUserMasterCategoriesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
    -+ 13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The interface IOutlookUserMasterCategoriesCollectionPage.
      17     /// </summary>
    -+ 18     [JsonConverter(typeof(InterfaceConverter<OutlookUserMasterCategoriesCollectionPage>))]
      19     public interface IOutlookUserMasterCategoriesCollectionPage : ICollectionPage<OutlookCategory>
      20     {
    = 21         /// <summary>
      22         /// Gets the next page <see cref="IOutlookUserMasterCategoriesCollectionRequest"/> instance.
      23         /// </summary>
    -+ 24         IOutlookUserMasterCategoriesCollectionRequest NextPageRequest { get; }
    = 25  
      26         /// <summary>
      27         /// Initializes the NextPageRequest property.
      28         /// </summary>
    -+ 29         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      30     }
      31 }

   
File: IOutlookCategoryRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IOutlookCategoryRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IOutlookCategoryRequestBuilder : IEntityRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IOutlookCategoryRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IOutlookCategoryRequest Request(IEnumerable<Option> options);
    = 32     
    -+ 33     }
      34 }

   
File: IOutlookCategoryRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IOutlookCategoryRequest.
      19     /// </summary>
    -+ 20     public partial interface IOutlookCategoryRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified OutlookCategory using PUT.
      24         /// </summary>
      25         /// <param name="outlookCategoryToCreate">The OutlookCategory to create.</param>
      26         /// <returns>The created OutlookCategory.</returns>
    -+ 27         System.Threading.Tasks.Task<OutlookCategory> CreateAsync(OutlookCategory outlookCategoryToCreate);        /// <summary>
    = 28         /// Creates the specified OutlookCategory using PUT.
      29         /// </summary>
      30         /// <param name="outlookCategoryToCreate">The OutlookCategory to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created OutlookCategory.</returns>
    -+ 33         System.Threading.Tasks.Task<OutlookCategory> CreateAsync(OutlookCategory outlookCategoryToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified OutlookCategory.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified OutlookCategory.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified OutlookCategory.
      50         /// </summary>
      51         /// <returns>The OutlookCategory.</returns>
    -+ 52         System.Threading.Tasks.Task<OutlookCategory> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified OutlookCategory.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The OutlookCategory.</returns>
    -+ 59         System.Threading.Tasks.Task<OutlookCategory> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified OutlookCategory using PATCH.
      63         /// </summary>
      64         /// <param name="outlookCategoryToUpdate">The OutlookCategory to update.</param>
      65         /// <returns>The updated OutlookCategory.</returns>
    -+ 66         System.Threading.Tasks.Task<OutlookCategory> UpdateAsync(OutlookCategory outlookCategoryToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified OutlookCategory using PATCH.
      70         /// </summary>
      71         /// <param name="outlookCategoryToUpdate">The OutlookCategory to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated OutlookCategory.</returns>
    -+ 74         System.Threading.Tasks.Task<OutlookCategory> UpdateAsync(OutlookCategory outlookCategoryToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IOutlookCategoryRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IOutlookCategoryRequest Expand(Expression<Func<OutlookCategory, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IOutlookCategoryRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IOutlookCategoryRequest Select(Expression<Func<OutlookCategory, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IosMobileAppConfigurationRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type IosMobileAppConfigurationRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class IosMobileAppConfigurationRequestBuilder : ManagedDeviceMobileAppConfigurationRequestBuilder, IIosMobileAppConfigurationRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new IosMobileAppConfigurationRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public IosMobileAppConfigurationRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IIosMobileAppConfigurationRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IIosMobileAppConfigurationRequest Request(IEnumerable<Option> options)
      48         {
      49             return new IosMobileAppConfigurationRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
    -+ 52     }
      53 }

   
File: IosMobileAppConfigurationRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type IosMobileAppConfigurationRequest.
      20     /// </summary>
    -+ 21     public partial class IosMobileAppConfigurationRequest : BaseRequest, IIosMobileAppConfigurationRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new IosMobileAppConfigurationRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public IosMobileAppConfigurationRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified IosMobileAppConfiguration using POST.
      39         /// </summary>
      40         /// <param name="iosMobileAppConfigurationToCreate">The IosMobileAppConfiguration to create.</param>
      41         /// <returns>The created IosMobileAppConfiguration.</returns>
    -+ 42         public System.Threading.Tasks.Task<IosMobileAppConfiguration> CreateAsync(IosMobileAppConfiguration iosMobileAppConfigurationToCreate)
      43         {
      44             return this.CreateAsync(iosMobileAppConfigurationToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified IosMobileAppConfiguration using POST.
      49         /// </summary>
      50         /// <param name="iosMobileAppConfigurationToCreate">The IosMobileAppConfiguration to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created IosMobileAppConfiguration.</returns>
    -+ 53         public async System.Threading.Tasks.Task<IosMobileAppConfiguration> CreateAsync(IosMobileAppConfiguration iosMobileAppConfigurationToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<IosMobileAppConfiguration>(iosMobileAppConfigurationToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified IosMobileAppConfiguration.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified IosMobileAppConfiguration.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<IosMobileAppConfiguration>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified IosMobileAppConfiguration.
      84         /// </summary>
      85         /// <returns>The IosMobileAppConfiguration.</returns>
    -+ 86         public System.Threading.Tasks.Task<IosMobileAppConfiguration> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified IosMobileAppConfiguration.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The IosMobileAppConfiguration.</returns>
    -+ 96         public async System.Threading.Tasks.Task<IosMobileAppConfiguration> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<IosMobileAppConfiguration>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified IosMobileAppConfiguration using PATCH.
      106         /// </summary>
      107         /// <param name="iosMobileAppConfigurationToUpdate">The IosMobileAppConfiguration to update.</param>
      108         /// <returns>The updated IosMobileAppConfiguration.</returns>
    -+ 109         public System.Threading.Tasks.Task<IosMobileAppConfiguration> UpdateAsync(IosMobileAppConfiguration iosMobileAppConfigurationToUpdate)
      110         {
      111             return this.UpdateAsync(iosMobileAppConfigurationToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified IosMobileAppConfiguration using PATCH.
      116         /// </summary>
      117         /// <param name="iosMobileAppConfigurationToUpdate">The IosMobileAppConfiguration to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated IosMobileAppConfiguration.</returns>
    -+ 120         public async System.Threading.Tasks.Task<IosMobileAppConfiguration> UpdateAsync(IosMobileAppConfiguration iosMobileAppConfigurationToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<IosMobileAppConfiguration>(iosMobileAppConfigurationToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IIosMobileAppConfigurationRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IIosMobileAppConfigurationRequest Expand(Expression<Func<IosMobileAppConfiguration, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IIosMobileAppConfigurationRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IIosMobileAppConfigurationRequest Select(Expression<Func<IosMobileAppConfiguration, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="iosMobileAppConfigurationToInitialize">The <see cref="IosMobileAppConfiguration"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(IosMobileAppConfiguration iosMobileAppConfigurationToInitialize)
      204         {
    = 205  
    -+ 206         }
      207     }
      208 }

   
File: IOnenoteSectionRequestBuilder.cs  
52         /// Gets the request builder for OnenoteSectionCopyToNotebook. = 52         /// Gets the request builder for OnenoteSectionCopyToNotebook.
53         /// </summary>   53         /// </summary>
54         /// <returns>The <see cref="IOnenoteSectionCopyToNotebookRequestBuilder"/>.</returns>   54         /// <returns>The <see cref="IOnenoteSectionCopyToNotebookRequestBuilder"/>.</returns>
55         IOnenoteSectionCopyToNotebookRequestBuilder CopyToNotebook(   55         IOnenoteSectionCopyToNotebookRequestBuilder CopyToNotebook(
56             string id = null,   56             string id = null,
57             string groupId = null,   57             string groupId = null,
58             string renameAs = null); <> 58             string renameAs = null,
      59             string siteCollectionId = null,
      60             string siteId = null);
59   = 61  
60         /// <summary>   62         /// <summary>
61         /// Gets the request builder for OnenoteSectionCopyToSectionGroup.   63         /// Gets the request builder for OnenoteSectionCopyToSectionGroup.
62         /// </summary>   64         /// </summary>
63         /// <returns>The <see cref="IOnenoteSectionCopyToSectionGroupRequestBuilder"/>.</returns>   65         /// <returns>The <see cref="IOnenoteSectionCopyToSectionGroupRequestBuilder"/>.</returns>
64         IOnenoteSectionCopyToSectionGroupRequestBuilder CopyToSectionGroup(   66         IOnenoteSectionCopyToSectionGroupRequestBuilder CopyToSectionGroup(
65             string id = null,   67             string id = null,
66             string groupId = null,   68             string groupId = null,
67             string renameAs = null); <> 69             string renameAs = null,
      70             string siteCollectionId = null,
      71             string siteId = null);
68      = 72     
69     }   73     }
70 }   74 }

   
File: IOnenotePageRequestBuilder.cs  
58         /// <summary> = 58         /// <summary>
59         /// Gets the request builder for OnenotePageCopyToSection.   59         /// Gets the request builder for OnenotePageCopyToSection.
60         /// </summary>   60         /// </summary>
61         /// <returns>The <see cref="IOnenotePageCopyToSectionRequestBuilder"/>.</returns>   61         /// <returns>The <see cref="IOnenotePageCopyToSectionRequestBuilder"/>.</returns>
62         IOnenotePageCopyToSectionRequestBuilder CopyToSection(   62         IOnenotePageCopyToSectionRequestBuilder CopyToSection(
63             string id = null,   63             string id = null,
64             string groupId = null); <> 64             string groupId = null,
      65             string siteCollectionId = null,
      66             string siteId = null);
65   = 67  
66         /// <summary>   68         /// <summary>
67         /// Gets the request builder for OnenotePagePreview.   69         /// Gets the request builder for OnenotePagePreview.
68         /// </summary>   70         /// </summary>
69         /// <returns>The <see cref="IOnenotePagePreviewRequestBuilder"/>.</returns>   71         /// <returns>The <see cref="IOnenotePagePreviewRequestBuilder"/>.</returns>
70         IOnenotePagePreviewRequestBuilder Preview();   72         IOnenotePagePreviewRequestBuilder Preview();
71        73     
72     }   74     }
73 }   75 }

   
File: INotebookRequestBuilder.cs  
46         /// Gets the request builder for NotebookCopyNotebook. = 46         /// Gets the request builder for NotebookCopyNotebook.
47         /// </summary>   47         /// </summary>
48         /// <returns>The <see cref="INotebookCopyNotebookRequestBuilder"/>.</returns>   48         /// <returns>The <see cref="INotebookCopyNotebookRequestBuilder"/>.</returns>
49         INotebookCopyNotebookRequestBuilder CopyNotebook(   49         INotebookCopyNotebookRequestBuilder CopyNotebook(
50             string groupId = null,   50             string groupId = null,
51             string renameAs = null,   51             string renameAs = null,
52             string notebookFolder = null); <> 52             string notebookFolder = null,
      53             string siteCollectionId = null,
      54             string siteId = null);
53      = 55     
54     }   56     }
55 }   57 }

   
File: IMessageRuleRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IMessageRuleRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IMessageRuleRequestBuilder : IEntityRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IMessageRuleRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IMessageRuleRequest Request(IEnumerable<Option> options);
    = 32     
    -+ 33     }
      34 }

   
File: IMessageRuleRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IMessageRuleRequest.
      19     /// </summary>
    -+ 20     public partial interface IMessageRuleRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified MessageRule using PUT.
      24         /// </summary>
      25         /// <param name="messageRuleToCreate">The MessageRule to create.</param>
      26         /// <returns>The created MessageRule.</returns>
    -+ 27         System.Threading.Tasks.Task<MessageRule> CreateAsync(MessageRule messageRuleToCreate);        /// <summary>
    = 28         /// Creates the specified MessageRule using PUT.
      29         /// </summary>
      30         /// <param name="messageRuleToCreate">The MessageRule to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created MessageRule.</returns>
    -+ 33         System.Threading.Tasks.Task<MessageRule> CreateAsync(MessageRule messageRuleToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified MessageRule.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified MessageRule.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified MessageRule.
      50         /// </summary>
      51         /// <returns>The MessageRule.</returns>
    -+ 52         System.Threading.Tasks.Task<MessageRule> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified MessageRule.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The MessageRule.</returns>
    -+ 59         System.Threading.Tasks.Task<MessageRule> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified MessageRule using PATCH.
      63         /// </summary>
      64         /// <param name="messageRuleToUpdate">The MessageRule to update.</param>
      65         /// <returns>The updated MessageRule.</returns>
    -+ 66         System.Threading.Tasks.Task<MessageRule> UpdateAsync(MessageRule messageRuleToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified MessageRule using PATCH.
      70         /// </summary>
      71         /// <param name="messageRuleToUpdate">The MessageRule to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated MessageRule.</returns>
    -+ 74         System.Threading.Tasks.Task<MessageRule> UpdateAsync(MessageRule messageRuleToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IMessageRuleRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IMessageRuleRequest Expand(Expression<Func<MessageRule, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IMessageRuleRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IMessageRuleRequest Select(Expression<Func<MessageRule, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IManagedDeviceMobileAppConfigurationRequestBuilder.cs  
37         IManagedDeviceMobileAppConfigurationAssignmentsCollectionRequestBuilder Assignments { get; } = 37         IManagedDeviceMobileAppConfigurationAssignmentsCollectionRequestBuilder Assignments { get; }
38     38  
39         /// <summary>   39         /// <summary>
      40         /// Gets the request builder for DeviceStatuses.
      41         /// </summary>
      42         /// <returns>The <see cref="IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder"/>.</returns>
    -+ 43         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder DeviceStatuses { get; }
    = 44  
      45         /// <summary>
40         /// Gets the request builder for UserStatuses.   46         /// Gets the request builder for UserStatuses.
41         /// </summary>   47         /// </summary>
42         /// <returns>The <see cref="IManagedDeviceMobileAppConfigurationUserStatusesCollectionRequestBuilder"/>.</returns>   48         /// <returns>The <see cref="IManagedDeviceMobileAppConfigurationUserStatusesCollectionRequestBuilder"/>.</returns>
43         IManagedDeviceMobileAppConfigurationUserStatusesCollectionRequestBuilder UserStatuses { get; }   49         IManagedDeviceMobileAppConfigurationUserStatusesCollectionRequestBuilder UserStatuses { get; }

   
File: IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder : IEntityRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IManagedDeviceMobileAppConfigurationDeviceStatusRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IManagedDeviceMobileAppConfigurationDeviceStatusRequest Request(IEnumerable<Option> options);
    = 32     
    -+ 33     }
      34 }

   
File: IManagedDeviceMobileAppConfigurationDeviceStatusRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IManagedDeviceMobileAppConfigurationDeviceStatusRequest.
      19     /// </summary>
    -+ 20     public partial interface IManagedDeviceMobileAppConfigurationDeviceStatusRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified ManagedDeviceMobileAppConfigurationDeviceStatus using PUT.
      24         /// </summary>
      25         /// <param name="managedDeviceMobileAppConfigurationDeviceStatusToCreate">The ManagedDeviceMobileAppConfigurationDeviceStatus to create.</param>
      26         /// <returns>The created ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 27         System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> CreateAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatusToCreate);        /// <summary>
    = 28         /// Creates the specified ManagedDeviceMobileAppConfigurationDeviceStatus using PUT.
      29         /// </summary>
      30         /// <param name="managedDeviceMobileAppConfigurationDeviceStatusToCreate">The ManagedDeviceMobileAppConfigurationDeviceStatus to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 33         System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> CreateAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatusToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified ManagedDeviceMobileAppConfigurationDeviceStatus.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified ManagedDeviceMobileAppConfigurationDeviceStatus.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified ManagedDeviceMobileAppConfigurationDeviceStatus.
      50         /// </summary>
      51         /// <returns>The ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 52         System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified ManagedDeviceMobileAppConfigurationDeviceStatus.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 59         System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified ManagedDeviceMobileAppConfigurationDeviceStatus using PATCH.
      63         /// </summary>
      64         /// <param name="managedDeviceMobileAppConfigurationDeviceStatusToUpdate">The ManagedDeviceMobileAppConfigurationDeviceStatus to update.</param>
      65         /// <returns>The updated ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 66         System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> UpdateAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatusToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified ManagedDeviceMobileAppConfigurationDeviceStatus using PATCH.
      70         /// </summary>
      71         /// <param name="managedDeviceMobileAppConfigurationDeviceStatusToUpdate">The ManagedDeviceMobileAppConfigurationDeviceStatus to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 74         System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> UpdateAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatusToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IManagedDeviceMobileAppConfigurationDeviceStatusRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IManagedDeviceMobileAppConfigurationDeviceStatusRequest Expand(Expression<Func<ManagedDeviceMobileAppConfigurationDeviceStatus, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IManagedDeviceMobileAppConfigurationDeviceStatusRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IManagedDeviceMobileAppConfigurationDeviceStatusRequest Select(Expression<Func<ManagedDeviceMobileAppConfigurationDeviceStatus, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The interface IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial interface IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Builds the request.
      20         /// </summary>
      21         /// <returns>The built request.</returns>
    -+ 22         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Request();
    = 23  
      24         /// <summary>
      25         /// Builds the request.
      26         /// </summary>
      27         /// <param name="options">The query and header options for the request.</param>
      28         /// <returns>The built request.</returns>
    -+ 29         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Request(IEnumerable<Option> options);
    = 30  
      31         /// <summary>
      32         /// Gets an <see cref="IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder"/> for the specified ManagedDeviceMobileAppConfigurationDeviceStatus.
      33         /// </summary>
      34         /// <param name="id">The ID for the ManagedDeviceMobileAppConfigurationDeviceStatus.</param>
      35         /// <returns>The <see cref="IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder"/>.</returns>
    -+ 36         IManagedDeviceMobileAppConfigurationDeviceStatusRequestBuilder this[string id] { get; }
    = 37  
      38         
    -+ 39     }
      40 }

   
File: IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest.
      19     /// </summary>
    -+ 20     public partial interface IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest : IBaseRequest
      21     {
    = 22         
      23         /// <summary>
      24         /// Adds the specified ManagedDeviceMobileAppConfigurationDeviceStatus to the collection via POST.
      25         /// </summary>
      26         /// <param name="managedDeviceMobileAppConfigurationDeviceStatus">The ManagedDeviceMobileAppConfigurationDeviceStatus to add.</param>
      27         /// <returns>The created ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 28         System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> AddAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatus);
    = 29  
      30         /// <summary>
      31         /// Adds the specified ManagedDeviceMobileAppConfigurationDeviceStatus to the collection via POST.
      32         /// </summary>
      33         /// <param name="managedDeviceMobileAppConfigurationDeviceStatus">The ManagedDeviceMobileAppConfigurationDeviceStatus to add.</param>
      34         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      35         /// <returns>The created ManagedDeviceMobileAppConfigurationDeviceStatus.</returns>
    -+ 36         System.Threading.Tasks.Task<ManagedDeviceMobileAppConfigurationDeviceStatus> AddAsync(ManagedDeviceMobileAppConfigurationDeviceStatus managedDeviceMobileAppConfigurationDeviceStatus, CancellationToken cancellationToken);
    = 37         /// <summary>
      38         /// Gets the collection page.
      39         /// </summary>
      40         /// <returns>The collection page.</returns>
    -+ 41         System.Threading.Tasks.Task<IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage> GetAsync();
    = 42  
      43         /// <summary>
      44         /// Gets the collection page.
      45         /// </summary>
      46         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      47         /// <returns>The collection page.</returns>
    -+ 48         System.Threading.Tasks.Task<IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage> GetAsync(CancellationToken cancellationToken);
    = 49  
      50         /// <summary>
      51         /// Adds the specified expand value to the request.
      52         /// </summary>
      53         /// <param name="value">The expand value.</param>
      54         /// <returns>The request object to send.</returns>
    -+ 55         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Expand(string value);
    = 56  
      57         /// <summary>
      58         /// Adds the specified expand value to the request.
      59         /// </summary>
      60         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      61         /// <returns>The request object to send.</returns>
    -+ 62         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Expand(Expression<Func<ManagedDeviceMobileAppConfigurationDeviceStatus, object>> expandExpression);
    = 63  
      64         /// <summary>
      65         /// Adds the specified select value to the request.
      66         /// </summary>
      67         /// <param name="value">The select value.</param>
      68         /// <returns>The request object to send.</returns>
    -+ 69         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Select(string value);
    = 70  
      71         /// <summary>
      72         /// Adds the specified select value to the request.
      73         /// </summary>
      74         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      75         /// <returns>The request object to send.</returns>
    -+ 76         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Select(Expression<Func<ManagedDeviceMobileAppConfigurationDeviceStatus, object>> selectExpression);
    = 77  
      78         /// <summary>
      79         /// Adds the specified top value to the request.
      80         /// </summary>
      81         /// <param name="value">The top value.</param>
      82         /// <returns>The request object to send.</returns>
    -+ 83         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Top(int value);
    = 84  
      85         /// <summary>
      86         /// Adds the specified filter value to the request.
      87         /// </summary>
      88         /// <param name="value">The filter value.</param>
      89         /// <returns>The request object to send.</returns>
    -+ 90         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Filter(string value);
    = 91  
      92         /// <summary>
      93         /// Adds the specified skip value to the request.
      94         /// </summary>
      95         /// <param name="value">The skip value.</param>
      96         /// <returns>The request object to send.</returns>
    -+ 97         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest Skip(int value);
    = 98  
      99         /// <summary>
      100         /// Adds the specified orderby value to the request.
      101         /// </summary>
      102         /// <param name="value">The orderby value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest OrderBy(string value);
      105     }
      106 }

   
File: IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
    -+ 13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The interface IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage.
      17     /// </summary>
    -+ 18     [JsonConverter(typeof(InterfaceConverter<ManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage>))]
      19     public interface IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionPage : ICollectionPage<ManagedDeviceMobileAppConfigurationDeviceStatus>
      20     {
    = 21         /// <summary>
      22         /// Gets the next page <see cref="IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest"/> instance.
      23         /// </summary>
    -+ 24         IManagedDeviceMobileAppConfigurationDeviceStatusesCollectionRequest NextPageRequest { get; }
    = 25  
      26         /// <summary>
      27         /// Initializes the NextPageRequest property.
      28         /// </summary>
    -+ 29         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      30     }
      31 }

   
File: IMailFolderRequestBuilder.cs  
37         IMailFolderMessagesCollectionRequestBuilder Messages { get; } = 37         IMailFolderMessagesCollectionRequestBuilder Messages { get; }
38     38  
39         /// <summary>   39         /// <summary>
      40         /// Gets the request builder for MessageRules.
      41         /// </summary>
      42         /// <returns>The <see cref="IMailFolderMessageRulesCollectionRequestBuilder"/>.</returns>
    -+ 43         IMailFolderMessageRulesCollectionRequestBuilder MessageRules { get; }
    = 44  
      45         /// <summary>
40         /// Gets the request builder for ChildFolders.   46         /// Gets the request builder for ChildFolders.
41         /// </summary>   47         /// </summary>
42         /// <returns>The <see cref="IMailFolderChildFoldersCollectionRequestBuilder"/>.</returns>   48         /// <returns>The <see cref="IMailFolderChildFoldersCollectionRequestBuilder"/>.</returns>
43         IMailFolderChildFoldersCollectionRequestBuilder ChildFolders { get; }   49         IMailFolderChildFoldersCollectionRequestBuilder ChildFolders { get; }

   
File: IMailFolderMessageRulesCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The interface IMailFolderMessageRulesCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial interface IMailFolderMessageRulesCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Builds the request.
      20         /// </summary>
      21         /// <returns>The built request.</returns>
    -+ 22         IMailFolderMessageRulesCollectionRequest Request();
    = 23  
      24         /// <summary>
      25         /// Builds the request.
      26         /// </summary>
      27         /// <param name="options">The query and header options for the request.</param>
      28         /// <returns>The built request.</returns>
    -+ 29         IMailFolderMessageRulesCollectionRequest Request(IEnumerable<Option> options);
    = 30  
      31         /// <summary>
      32         /// Gets an <see cref="IMessageRuleRequestBuilder"/> for the specified MessageRule.
      33         /// </summary>
      34         /// <param name="id">The ID for the MessageRule.</param>
      35         /// <returns>The <see cref="IMessageRuleRequestBuilder"/>.</returns>
    -+ 36         IMessageRuleRequestBuilder this[string id] { get; }
    = 37  
      38         
    -+ 39     }
      40 }

   
File: IMailFolderMessageRulesCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IMailFolderMessageRulesCollectionRequest.
      19     /// </summary>
    -+ 20     public partial interface IMailFolderMessageRulesCollectionRequest : IBaseRequest
      21     {
    = 22         
      23         /// <summary>
      24         /// Adds the specified MessageRule to the collection via POST.
      25         /// </summary>
      26         /// <param name="messageRule">The MessageRule to add.</param>
      27         /// <returns>The created MessageRule.</returns>
    -+ 28         System.Threading.Tasks.Task<MessageRule> AddAsync(MessageRule messageRule);
    = 29  
      30         /// <summary>
      31         /// Adds the specified MessageRule to the collection via POST.
      32         /// </summary>
      33         /// <param name="messageRule">The MessageRule to add.</param>
      34         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      35         /// <returns>The created MessageRule.</returns>
    -+ 36         System.Threading.Tasks.Task<MessageRule> AddAsync(MessageRule messageRule, CancellationToken cancellationToken);
    = 37         /// <summary>
      38         /// Gets the collection page.
      39         /// </summary>
      40         /// <returns>The collection page.</returns>
    -+ 41         System.Threading.Tasks.Task<IMailFolderMessageRulesCollectionPage> GetAsync();
    = 42  
      43         /// <summary>
      44         /// Gets the collection page.
      45         /// </summary>
      46         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      47         /// <returns>The collection page.</returns>
    -+ 48         System.Threading.Tasks.Task<IMailFolderMessageRulesCollectionPage> GetAsync(CancellationToken cancellationToken);
    = 49  
      50         /// <summary>
      51         /// Adds the specified expand value to the request.
      52         /// </summary>
      53         /// <param name="value">The expand value.</param>
      54         /// <returns>The request object to send.</returns>
    -+ 55         IMailFolderMessageRulesCollectionRequest Expand(string value);
    = 56  
      57         /// <summary>
      58         /// Adds the specified expand value to the request.
      59         /// </summary>
      60         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      61         /// <returns>The request object to send.</returns>
    -+ 62         IMailFolderMessageRulesCollectionRequest Expand(Expression<Func<MessageRule, object>> expandExpression);
    = 63  
      64         /// <summary>
      65         /// Adds the specified select value to the request.
      66         /// </summary>
      67         /// <param name="value">The select value.</param>
      68         /// <returns>The request object to send.</returns>
    -+ 69         IMailFolderMessageRulesCollectionRequest Select(string value);
    = 70  
      71         /// <summary>
      72         /// Adds the specified select value to the request.
      73         /// </summary>
      74         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      75         /// <returns>The request object to send.</returns>
    -+ 76         IMailFolderMessageRulesCollectionRequest Select(Expression<Func<MessageRule, object>> selectExpression);
    = 77  
      78         /// <summary>
      79         /// Adds the specified top value to the request.
      80         /// </summary>
      81         /// <param name="value">The top value.</param>
      82         /// <returns>The request object to send.</returns>
    -+ 83         IMailFolderMessageRulesCollectionRequest Top(int value);
    = 84  
      85         /// <summary>
      86         /// Adds the specified filter value to the request.
      87         /// </summary>
      88         /// <param name="value">The filter value.</param>
      89         /// <returns>The request object to send.</returns>
    -+ 90         IMailFolderMessageRulesCollectionRequest Filter(string value);
    = 91  
      92         /// <summary>
      93         /// Adds the specified skip value to the request.
      94         /// </summary>
      95         /// <param name="value">The skip value.</param>
      96         /// <returns>The request object to send.</returns>
    -+ 97         IMailFolderMessageRulesCollectionRequest Skip(int value);
    = 98  
      99         /// <summary>
      100         /// Adds the specified orderby value to the request.
      101         /// </summary>
      102         /// <param name="value">The orderby value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         IMailFolderMessageRulesCollectionRequest OrderBy(string value);
      105     }
      106 }

   
File: IMailFolderMessageRulesCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
    -+ 13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The interface IMailFolderMessageRulesCollectionPage.
      17     /// </summary>
    -+ 18     [JsonConverter(typeof(InterfaceConverter<MailFolderMessageRulesCollectionPage>))]
      19     public interface IMailFolderMessageRulesCollectionPage : ICollectionPage<MessageRule>
      20     {
    = 21         /// <summary>
      22         /// Gets the next page <see cref="IMailFolderMessageRulesCollectionRequest"/> instance.
      23         /// </summary>
    -+ 24         IMailFolderMessageRulesCollectionRequest NextPageRequest { get; }
    = 25  
      26         /// <summary>
      27         /// Initializes the NextPageRequest property.
      28         /// </summary>
    -+ 29         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      30     }
      31 }

   
File: IListItemVersionsCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The interface IListItemVersionsCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial interface IListItemVersionsCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Builds the request.
      20         /// </summary>
      21         /// <returns>The built request.</returns>
    -+ 22         IListItemVersionsCollectionRequest Request();
    = 23  
      24         /// <summary>
      25         /// Builds the request.
      26         /// </summary>
      27         /// <param name="options">The query and header options for the request.</param>
      28         /// <returns>The built request.</returns>
    -+ 29         IListItemVersionsCollectionRequest Request(IEnumerable<Option> options);
    = 30  
      31         /// <summary>
      32         /// Gets an <see cref="IListItemVersionRequestBuilder"/> for the specified ListItemVersion.
      33         /// </summary>
      34         /// <param name="id">The ID for the ListItemVersion.</param>
      35         /// <returns>The <see cref="IListItemVersionRequestBuilder"/>.</returns>
    -+ 36         IListItemVersionRequestBuilder this[string id] { get; }
    = 37  
      38         
    -+ 39     }
      40 }

   
File: IListItemVersionsCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IListItemVersionsCollectionRequest.
      19     /// </summary>
    -+ 20     public partial interface IListItemVersionsCollectionRequest : IBaseRequest
      21     {
    = 22         
      23         /// <summary>
      24         /// Adds the specified ListItemVersion to the collection via POST.
      25         /// </summary>
      26         /// <param name="listItemVersion">The ListItemVersion to add.</param>
      27         /// <returns>The created ListItemVersion.</returns>
    -+ 28         System.Threading.Tasks.Task<ListItemVersion> AddAsync(ListItemVersion listItemVersion);
    = 29  
      30         /// <summary>
      31         /// Adds the specified ListItemVersion to the collection via POST.
      32         /// </summary>
      33         /// <param name="listItemVersion">The ListItemVersion to add.</param>
      34         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      35         /// <returns>The created ListItemVersion.</returns>
    -+ 36         System.Threading.Tasks.Task<ListItemVersion> AddAsync(ListItemVersion listItemVersion, CancellationToken cancellationToken);
    = 37         /// <summary>
      38         /// Gets the collection page.
      39         /// </summary>
      40         /// <returns>The collection page.</returns>
    -+ 41         System.Threading.Tasks.Task<IListItemVersionsCollectionPage> GetAsync();
    = 42  
      43         /// <summary>
      44         /// Gets the collection page.
      45         /// </summary>
      46         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      47         /// <returns>The collection page.</returns>
    -+ 48         System.Threading.Tasks.Task<IListItemVersionsCollectionPage> GetAsync(CancellationToken cancellationToken);
    = 49  
      50         /// <summary>
      51         /// Adds the specified expand value to the request.
      52         /// </summary>
      53         /// <param name="value">The expand value.</param>
      54         /// <returns>The request object to send.</returns>
    -+ 55         IListItemVersionsCollectionRequest Expand(string value);
    = 56  
      57         /// <summary>
      58         /// Adds the specified expand value to the request.
      59         /// </summary>
      60         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      61         /// <returns>The request object to send.</returns>
    -+ 62         IListItemVersionsCollectionRequest Expand(Expression<Func<ListItemVersion, object>> expandExpression);
    = 63  
      64         /// <summary>
      65         /// Adds the specified select value to the request.
      66         /// </summary>
      67         /// <param name="value">The select value.</param>
      68         /// <returns>The request object to send.</returns>
    -+ 69         IListItemVersionsCollectionRequest Select(string value);
    = 70  
      71         /// <summary>
      72         /// Adds the specified select value to the request.
      73         /// </summary>
      74         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      75         /// <returns>The request object to send.</returns>
    -+ 76         IListItemVersionsCollectionRequest Select(Expression<Func<ListItemVersion, object>> selectExpression);
    = 77  
      78         /// <summary>
      79         /// Adds the specified top value to the request.
      80         /// </summary>
      81         /// <param name="value">The top value.</param>
      82         /// <returns>The request object to send.</returns>
    -+ 83         IListItemVersionsCollectionRequest Top(int value);
    = 84  
      85         /// <summary>
      86         /// Adds the specified filter value to the request.
      87         /// </summary>
      88         /// <param name="value">The filter value.</param>
      89         /// <returns>The request object to send.</returns>
    -+ 90         IListItemVersionsCollectionRequest Filter(string value);
    = 91  
      92         /// <summary>
      93         /// Adds the specified skip value to the request.
      94         /// </summary>
      95         /// <param name="value">The skip value.</param>
      96         /// <returns>The request object to send.</returns>
    -+ 97         IListItemVersionsCollectionRequest Skip(int value);
    = 98  
      99         /// <summary>
      100         /// Adds the specified orderby value to the request.
      101         /// </summary>
      102         /// <param name="value">The orderby value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         IListItemVersionsCollectionRequest OrderBy(string value);
      105     }
      106 }

   
File: IListItemVersionsCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
    -+ 13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The interface IListItemVersionsCollectionPage.
      17     /// </summary>
    -+ 18     [JsonConverter(typeof(InterfaceConverter<ListItemVersionsCollectionPage>))]
      19     public interface IListItemVersionsCollectionPage : ICollectionPage<ListItemVersion>
      20     {
    = 21         /// <summary>
      22         /// Gets the next page <see cref="IListItemVersionsCollectionRequest"/> instance.
      23         /// </summary>
    -+ 24         IListItemVersionsCollectionRequest NextPageRequest { get; }
    = 25  
      26         /// <summary>
      27         /// Initializes the NextPageRequest property.
      28         /// </summary>
    -+ 29         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      30     }
      31 }

   
File: IListItemVersionRestoreVersionRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IListItemVersionRestoreVersionRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IListItemVersionRestoreVersionRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <param name="options">The query and header options for the request.</param>
      24         /// <returns>The built request.</returns>
    -+ 25         IListItemVersionRestoreVersionRequest Request(IEnumerable<Option> options = null);
      26     }
      27 }

   
File: IListItemVersionRestoreVersionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The interface IListItemVersionRestoreVersionRequest.
      19     /// </summary>
    -+ 20     public partial interface IListItemVersionRestoreVersionRequest : IBaseRequest
      21     {
    = 22  
      23  
      24         /// <summary>
      25         /// Issues the POST request.
      26         /// </summary>
    -+ 27         System.Threading.Tasks.Task PostAsync();
    = 28  
      29         /// <summary>
      30         /// Issues the POST request.
      31         /// </summary>
      32         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      33         /// <returns>The task to await for async call.</returns>
    -+ 34         System.Threading.Tasks.Task PostAsync(
      35             CancellationToken cancellationToken);
    = 36         
      37  
      38  
      39  
      40  
      41  
      42         /// <summary>
      43         /// Adds the specified expand value to the request.
      44         /// </summary>
      45         /// <param name="value">The expand value.</param>
      46         /// <returns>The request object to send.</returns>
    -+ 47         IListItemVersionRestoreVersionRequest Expand(string value);
    = 48  
      49         /// <summary>
      50         /// Adds the specified select value to the request.
      51         /// </summary>
      52         /// <param name="value">The select value.</param>
      53         /// <returns>The request object to send.</returns>
    -+ 54         IListItemVersionRestoreVersionRequest Select(string value);
      55     }
      56 }

   
File: IListItemVersionRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IListItemVersionRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IListItemVersionRequestBuilder : IBaseItemVersionRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IListItemVersionRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IListItemVersionRequest Request(IEnumerable<Option> options);
    = 32     
      33         /// <summary>
      34         /// Gets the request builder for Fields.
      35         /// </summary>
      36         /// <returns>The <see cref="IFieldValueSetRequestBuilder"/>.</returns>
    -+ 37         IFieldValueSetRequestBuilder Fields { get; }
    = 38     
      39         /// <summary>
      40         /// Gets the request builder for ListItemVersionRestoreVersion.
      41         /// </summary>
      42         /// <returns>The <see cref="IListItemVersionRestoreVersionRequestBuilder"/>.</returns>
    -+ 43         IListItemVersionRestoreVersionRequestBuilder RestoreVersion();
    = 44     
    -+ 45     }
      46 }

   
File: IListItemVersionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IListItemVersionRequest.
      19     /// </summary>
    -+ 20     public partial interface IListItemVersionRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified ListItemVersion using PUT.
      24         /// </summary>
      25         /// <param name="listItemVersionToCreate">The ListItemVersion to create.</param>
      26         /// <returns>The created ListItemVersion.</returns>
    -+ 27         System.Threading.Tasks.Task<ListItemVersion> CreateAsync(ListItemVersion listItemVersionToCreate);        /// <summary>
    = 28         /// Creates the specified ListItemVersion using PUT.
      29         /// </summary>
      30         /// <param name="listItemVersionToCreate">The ListItemVersion to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created ListItemVersion.</returns>
    -+ 33         System.Threading.Tasks.Task<ListItemVersion> CreateAsync(ListItemVersion listItemVersionToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified ListItemVersion.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified ListItemVersion.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified ListItemVersion.
      50         /// </summary>
      51         /// <returns>The ListItemVersion.</returns>
    -+ 52         System.Threading.Tasks.Task<ListItemVersion> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified ListItemVersion.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The ListItemVersion.</returns>
    -+ 59         System.Threading.Tasks.Task<ListItemVersion> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified ListItemVersion using PATCH.
      63         /// </summary>
      64         /// <param name="listItemVersionToUpdate">The ListItemVersion to update.</param>
      65         /// <returns>The updated ListItemVersion.</returns>
    -+ 66         System.Threading.Tasks.Task<ListItemVersion> UpdateAsync(ListItemVersion listItemVersionToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified ListItemVersion using PATCH.
      70         /// </summary>
      71         /// <param name="listItemVersionToUpdate">The ListItemVersion to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated ListItemVersion.</returns>
    -+ 74         System.Threading.Tasks.Task<ListItemVersion> UpdateAsync(ListItemVersion listItemVersionToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IListItemVersionRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IListItemVersionRequest Expand(Expression<Func<ListItemVersion, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IListItemVersionRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IListItemVersionRequest Select(Expression<Func<ListItemVersion, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IListItemRequestBuilder.cs  
43         IFieldValueSetRequestBuilder Fields { get; } = 43         IFieldValueSetRequestBuilder Fields { get; }
      44  
      45         /// <summary>
      46         /// Gets the request builder for Versions.
      47         /// </summary>
      48         /// <returns>The <see cref="IListItemVersionsCollectionRequestBuilder"/>.</returns>
    -+ 49         IListItemVersionsCollectionRequestBuilder Versions { get; }
44      = 50     
45     }   51     }
46 }   52 }

   
File: IIosMobileAppConfigurationRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IIosMobileAppConfigurationRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IIosMobileAppConfigurationRequestBuilder : IManagedDeviceMobileAppConfigurationRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IIosMobileAppConfigurationRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IIosMobileAppConfigurationRequest Request(IEnumerable<Option> options);
    = 32     
    -+ 33     }
      34 }

   
File: IIosMobileAppConfigurationRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IIosMobileAppConfigurationRequest.
      19     /// </summary>
    -+ 20     public partial interface IIosMobileAppConfigurationRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified IosMobileAppConfiguration using PUT.
      24         /// </summary>
      25         /// <param name="iosMobileAppConfigurationToCreate">The IosMobileAppConfiguration to create.</param>
      26         /// <returns>The created IosMobileAppConfiguration.</returns>
    -+ 27         System.Threading.Tasks.Task<IosMobileAppConfiguration> CreateAsync(IosMobileAppConfiguration iosMobileAppConfigurationToCreate);        /// <summary>
    = 28         /// Creates the specified IosMobileAppConfiguration using PUT.
      29         /// </summary>
      30         /// <param name="iosMobileAppConfigurationToCreate">The IosMobileAppConfiguration to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created IosMobileAppConfiguration.</returns>
    -+ 33         System.Threading.Tasks.Task<IosMobileAppConfiguration> CreateAsync(IosMobileAppConfiguration iosMobileAppConfigurationToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified IosMobileAppConfiguration.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified IosMobileAppConfiguration.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified IosMobileAppConfiguration.
      50         /// </summary>
      51         /// <returns>The IosMobileAppConfiguration.</returns>
    -+ 52         System.Threading.Tasks.Task<IosMobileAppConfiguration> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified IosMobileAppConfiguration.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The IosMobileAppConfiguration.</returns>
    -+ 59         System.Threading.Tasks.Task<IosMobileAppConfiguration> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified IosMobileAppConfiguration using PATCH.
      63         /// </summary>
      64         /// <param name="iosMobileAppConfigurationToUpdate">The IosMobileAppConfiguration to update.</param>
      65         /// <returns>The updated IosMobileAppConfiguration.</returns>
    -+ 66         System.Threading.Tasks.Task<IosMobileAppConfiguration> UpdateAsync(IosMobileAppConfiguration iosMobileAppConfigurationToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified IosMobileAppConfiguration using PATCH.
      70         /// </summary>
      71         /// <param name="iosMobileAppConfigurationToUpdate">The IosMobileAppConfiguration to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated IosMobileAppConfiguration.</returns>
    -+ 74         System.Threading.Tasks.Task<IosMobileAppConfiguration> UpdateAsync(IosMobileAppConfiguration iosMobileAppConfigurationToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IIosMobileAppConfigurationRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IIosMobileAppConfigurationRequest Expand(Expression<Func<IosMobileAppConfiguration, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IIosMobileAppConfigurationRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IIosMobileAppConfigurationRequest Select(Expression<Func<IosMobileAppConfiguration, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IGraphServiceClient.cs  
125         /// </summary> = 125         /// </summary>
126         IUserRequestBuilder Me { get; }   126         IUserRequestBuilder Me { get; }
127        127     
128         /// <summary>   128         /// <summary>
      129         /// Gets the GraphServiceDirectory request builder.
      130         /// </summary>
    -+ 131         IDirectoryRequestBuilder Directory { get; }
    = 132     
      133         /// <summary>
129         /// Gets the GraphServiceDrive request builder.   134         /// Gets the GraphServiceDrive request builder.
130         /// </summary>   135         /// </summary>
131         IDriveRequestBuilder Drive { get; }   136         IDriveRequestBuilder Drive { get; }
132        137     

   
File: IDriveItemVersionsCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The interface IDriveItemVersionsCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial interface IDriveItemVersionsCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Builds the request.
      20         /// </summary>
      21         /// <returns>The built request.</returns>
    -+ 22         IDriveItemVersionsCollectionRequest Request();
    = 23  
      24         /// <summary>
      25         /// Builds the request.
      26         /// </summary>
      27         /// <param name="options">The query and header options for the request.</param>
      28         /// <returns>The built request.</returns>
    -+ 29         IDriveItemVersionsCollectionRequest Request(IEnumerable<Option> options);
    = 30  
      31         /// <summary>
      32         /// Gets an <see cref="IDriveItemVersionRequestBuilder"/> for the specified DriveItemVersion.
      33         /// </summary>
      34         /// <param name="id">The ID for the DriveItemVersion.</param>
      35         /// <returns>The <see cref="IDriveItemVersionRequestBuilder"/>.</returns>
    -+ 36         IDriveItemVersionRequestBuilder this[string id] { get; }
    = 37  
      38         
    -+ 39     }
      40 }

   
File: IDriveItemVersionsCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IDriveItemVersionsCollectionRequest.
      19     /// </summary>
    -+ 20     public partial interface IDriveItemVersionsCollectionRequest : IBaseRequest
      21     {
    = 22         
      23         /// <summary>
      24         /// Adds the specified DriveItemVersion to the collection via POST.
      25         /// </summary>
      26         /// <param name="driveItemVersion">The DriveItemVersion to add.</param>
      27         /// <returns>The created DriveItemVersion.</returns>
    -+ 28         System.Threading.Tasks.Task<DriveItemVersion> AddAsync(DriveItemVersion driveItemVersion);
    = 29  
      30         /// <summary>
      31         /// Adds the specified DriveItemVersion to the collection via POST.
      32         /// </summary>
      33         /// <param name="driveItemVersion">The DriveItemVersion to add.</param>
      34         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      35         /// <returns>The created DriveItemVersion.</returns>
    -+ 36         System.Threading.Tasks.Task<DriveItemVersion> AddAsync(DriveItemVersion driveItemVersion, CancellationToken cancellationToken);
    = 37         /// <summary>
      38         /// Gets the collection page.
      39         /// </summary>
      40         /// <returns>The collection page.</returns>
    -+ 41         System.Threading.Tasks.Task<IDriveItemVersionsCollectionPage> GetAsync();
    = 42  
      43         /// <summary>
      44         /// Gets the collection page.
      45         /// </summary>
      46         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      47         /// <returns>The collection page.</returns>
    -+ 48         System.Threading.Tasks.Task<IDriveItemVersionsCollectionPage> GetAsync(CancellationToken cancellationToken);
    = 49  
      50         /// <summary>
      51         /// Adds the specified expand value to the request.
      52         /// </summary>
      53         /// <param name="value">The expand value.</param>
      54         /// <returns>The request object to send.</returns>
    -+ 55         IDriveItemVersionsCollectionRequest Expand(string value);
    = 56  
      57         /// <summary>
      58         /// Adds the specified expand value to the request.
      59         /// </summary>
      60         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      61         /// <returns>The request object to send.</returns>
    -+ 62         IDriveItemVersionsCollectionRequest Expand(Expression<Func<DriveItemVersion, object>> expandExpression);
    = 63  
      64         /// <summary>
      65         /// Adds the specified select value to the request.
      66         /// </summary>
      67         /// <param name="value">The select value.</param>
      68         /// <returns>The request object to send.</returns>
    -+ 69         IDriveItemVersionsCollectionRequest Select(string value);
    = 70  
      71         /// <summary>
      72         /// Adds the specified select value to the request.
      73         /// </summary>
      74         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      75         /// <returns>The request object to send.</returns>
    -+ 76         IDriveItemVersionsCollectionRequest Select(Expression<Func<DriveItemVersion, object>> selectExpression);
    = 77  
      78         /// <summary>
      79         /// Adds the specified top value to the request.
      80         /// </summary>
      81         /// <param name="value">The top value.</param>
      82         /// <returns>The request object to send.</returns>
    -+ 83         IDriveItemVersionsCollectionRequest Top(int value);
    = 84  
      85         /// <summary>
      86         /// Adds the specified filter value to the request.
      87         /// </summary>
      88         /// <param name="value">The filter value.</param>
      89         /// <returns>The request object to send.</returns>
    -+ 90         IDriveItemVersionsCollectionRequest Filter(string value);
    = 91  
      92         /// <summary>
      93         /// Adds the specified skip value to the request.
      94         /// </summary>
      95         /// <param name="value">The skip value.</param>
      96         /// <returns>The request object to send.</returns>
    -+ 97         IDriveItemVersionsCollectionRequest Skip(int value);
    = 98  
      99         /// <summary>
      100         /// Adds the specified orderby value to the request.
      101         /// </summary>
      102         /// <param name="value">The orderby value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         IDriveItemVersionsCollectionRequest OrderBy(string value);
      105     }
      106 }

   
File: IDriveItemVersionsCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
    -+ 13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The interface IDriveItemVersionsCollectionPage.
      17     /// </summary>
    -+ 18     [JsonConverter(typeof(InterfaceConverter<DriveItemVersionsCollectionPage>))]
      19     public interface IDriveItemVersionsCollectionPage : ICollectionPage<DriveItemVersion>
      20     {
    = 21         /// <summary>
      22         /// Gets the next page <see cref="IDriveItemVersionsCollectionRequest"/> instance.
      23         /// </summary>
    -+ 24         IDriveItemVersionsCollectionRequest NextPageRequest { get; }
    = 25  
      26         /// <summary>
      27         /// Initializes the NextPageRequest property.
      28         /// </summary>
    -+ 29         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      30     }
      31 }

   
File: IDriveItemVersionRestoreVersionRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IDriveItemVersionRestoreVersionRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IDriveItemVersionRestoreVersionRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <param name="options">The query and header options for the request.</param>
      24         /// <returns>The built request.</returns>
    -+ 25         IDriveItemVersionRestoreVersionRequest Request(IEnumerable<Option> options = null);
      26     }
      27 }

   
File: IDriveItemVersionRestoreVersionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The interface IDriveItemVersionRestoreVersionRequest.
      19     /// </summary>
    -+ 20     public partial interface IDriveItemVersionRestoreVersionRequest : IBaseRequest
      21     {
    = 22  
      23  
      24         /// <summary>
      25         /// Issues the POST request.
      26         /// </summary>
    -+ 27         System.Threading.Tasks.Task PostAsync();
    = 28  
      29         /// <summary>
      30         /// Issues the POST request.
      31         /// </summary>
      32         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      33         /// <returns>The task to await for async call.</returns>
    -+ 34         System.Threading.Tasks.Task PostAsync(
      35             CancellationToken cancellationToken);
    = 36         
      37  
      38  
      39  
      40  
      41  
      42         /// <summary>
      43         /// Adds the specified expand value to the request.
      44         /// </summary>
      45         /// <param name="value">The expand value.</param>
      46         /// <returns>The request object to send.</returns>
    -+ 47         IDriveItemVersionRestoreVersionRequest Expand(string value);
    = 48  
      49         /// <summary>
      50         /// Adds the specified select value to the request.
      51         /// </summary>
      52         /// <param name="value">The select value.</param>
      53         /// <returns>The request object to send.</returns>
    -+ 54         IDriveItemVersionRestoreVersionRequest Select(string value);
      55     }
      56 }

   
File: IDriveItemVersionRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IDriveItemVersionRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IDriveItemVersionRequestBuilder : IBaseItemVersionRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IDriveItemVersionRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IDriveItemVersionRequest Request(IEnumerable<Option> options);
    = 32     
      33         /// <summary>
      34         /// Gets the request builder for Content.
      35         /// </summary>
      36         /// <returns>The <see cref="IDriveItemVersionContentRequestBuilder"/>.</returns>
    -+ 37         IDriveItemVersionContentRequestBuilder Content { get; }
    = 38     
      39         /// <summary>
      40         /// Gets the request builder for DriveItemVersionRestoreVersion.
      41         /// </summary>
      42         /// <returns>The <see cref="IDriveItemVersionRestoreVersionRequestBuilder"/>.</returns>
    -+ 43         IDriveItemVersionRestoreVersionRequestBuilder RestoreVersion();
    = 44     
    -+ 45     }
      46 }

   
File: IDriveItemVersionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IDriveItemVersionRequest.
      19     /// </summary>
    -+ 20     public partial interface IDriveItemVersionRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified DriveItemVersion using PUT.
      24         /// </summary>
      25         /// <param name="driveItemVersionToCreate">The DriveItemVersion to create.</param>
      26         /// <returns>The created DriveItemVersion.</returns>
    -+ 27         System.Threading.Tasks.Task<DriveItemVersion> CreateAsync(DriveItemVersion driveItemVersionToCreate);        /// <summary>
    = 28         /// Creates the specified DriveItemVersion using PUT.
      29         /// </summary>
      30         /// <param name="driveItemVersionToCreate">The DriveItemVersion to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created DriveItemVersion.</returns>
    -+ 33         System.Threading.Tasks.Task<DriveItemVersion> CreateAsync(DriveItemVersion driveItemVersionToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified DriveItemVersion.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified DriveItemVersion.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified DriveItemVersion.
      50         /// </summary>
      51         /// <returns>The DriveItemVersion.</returns>
    -+ 52         System.Threading.Tasks.Task<DriveItemVersion> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified DriveItemVersion.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The DriveItemVersion.</returns>
    -+ 59         System.Threading.Tasks.Task<DriveItemVersion> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified DriveItemVersion using PATCH.
      63         /// </summary>
      64         /// <param name="driveItemVersionToUpdate">The DriveItemVersion to update.</param>
      65         /// <returns>The updated DriveItemVersion.</returns>
    -+ 66         System.Threading.Tasks.Task<DriveItemVersion> UpdateAsync(DriveItemVersion driveItemVersionToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified DriveItemVersion using PATCH.
      70         /// </summary>
      71         /// <param name="driveItemVersionToUpdate">The DriveItemVersion to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated DriveItemVersion.</returns>
    -+ 74         System.Threading.Tasks.Task<DriveItemVersion> UpdateAsync(DriveItemVersion driveItemVersionToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IDriveItemVersionRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IDriveItemVersionRequest Expand(Expression<Func<DriveItemVersion, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IDriveItemVersionRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IDriveItemVersionRequest Select(Expression<Func<DriveItemVersion, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IDriveItemVersionContentRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IStreamRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The interface IDriveItemVersionContentRequestBuilder.
      15     /// </summary>
    -+ 16     public partial interface IDriveItemVersionContentRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Builds the request.
      20         /// </summary>
      21         /// <param name="options">The query and header options for the request.</param>
      22         /// <returns>The built request.</returns>
    -+ 23         IDriveItemVersionContentRequest Request(IEnumerable<Option> options = null);
      24     }
      25 }

   
File: IDriveItemVersionContentRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IStreamRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System.Collections.Generic;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
    = 15  
      16     /// <summary>
      17     /// The interface IDriveItemVersionContentRequest.
      18     /// </summary>
    -+ 19     public partial interface IDriveItemVersionContentRequest : IBaseRequest
      20     {
    = 21         /// <summary>
      22         /// Gets the stream.
      23         /// </summary>
      24         /// <returns>The stream.</returns>
    -+ 25         System.Threading.Tasks.Task<Stream> GetAsync();
    = 26  
      27         /// <summary>
      28         /// Gets the stream.
      29         /// </summary>
      30         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      31         /// <param name="completionOption">The <see cref="HttpCompletionOption"/> to pass to the <see cref="IHttpProvider"/> on send.</param>
      32         /// <returns>The stream.</returns>
    -+ 33         System.Threading.Tasks.Task<Stream> GetAsync(CancellationToken cancellationToken, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead);
    = 34  
      35  
      36         /// <summary>
      37         /// PUTs the specified stream.
      38         /// </summary>
      39         /// <typeparam name="T">The type returned by the PUT call.</typeparam>
      40         /// <param name="content">The stream to PUT.</param>
      41         /// <returns>The object returned by the PUT call.</returns>
    -+ 42         System.Threading.Tasks.Task<T> PutAsync<T>(Stream content) where T : DriveItemVersion;
    = 43  
      44         /// <summary>
      45         /// PUTs the specified stream.
      46         /// </summary>
      47         /// <typeparam name="T">The type returned by the PUT call.</typeparam>
      48         /// <param name="content">The stream to PUT.</param>
      49         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      50         /// <param name="completionOption">The <see cref="HttpCompletionOption"/> to pass to the <see cref="IHttpProvider"/> on send.</param>
      51         /// <returns>The object returned by the PUT call.</returns>
    -+ 52         System.Threading.Tasks.Task<T> PutAsync<T>(Stream content, CancellationToken cancellationToken, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead) where T : DriveItemVersion;
    = 53     
    -+ 54     }
      55 }

   
File: IDriveItemRequestBuilder.cs  
55         IDriveItemThumbnailsCollectionRequestBuilder Thumbnails { get; } = 55         IDriveItemThumbnailsCollectionRequestBuilder Thumbnails { get; }
56     56  
57         /// <summary>   57         /// <summary>
      58         /// Gets the request builder for Versions.
      59         /// </summary>
      60         /// <returns>The <see cref="IDriveItemVersionsCollectionRequestBuilder"/>.</returns>
    -+ 61         IDriveItemVersionsCollectionRequestBuilder Versions { get; }
    = 62  
      63         /// <summary>
58         /// Gets the request builder for Workbook.   64         /// Gets the request builder for Workbook.
59         /// </summary>   65         /// </summary>
60         /// <returns>The <see cref="IWorkbookRequestBuilder"/>.</returns>   66         /// <returns>The <see cref="IWorkbookRequestBuilder"/>.</returns>
61         IWorkbookRequestBuilder Workbook { get; }   67         IWorkbookRequestBuilder Workbook { get; }

   
File: IDirectoryRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IDirectoryRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IDirectoryRequestBuilder : IEntityRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IDirectoryRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IDirectoryRequest Request(IEnumerable<Option> options);
    = 32     
      33         /// <summary>
      34         /// Gets the request builder for DeletedItems.
      35         /// </summary>
      36         /// <returns>The <see cref="IDirectoryDeletedItemsCollectionRequestBuilder"/>.</returns>
    -+ 37         IDirectoryDeletedItemsCollectionRequestBuilder DeletedItems { get; }
    = 38     
    -+ 39     }
      40 }

   
File: IDirectoryRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IDirectoryRequest.
      19     /// </summary>
    -+ 20     public partial interface IDirectoryRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified Directory using PUT.
      24         /// </summary>
      25         /// <param name="directoryToCreate">The Directory to create.</param>
      26         /// <returns>The created Directory.</returns>
    -+ 27         System.Threading.Tasks.Task<Directory> CreateAsync(Directory directoryToCreate);        /// <summary>
    = 28         /// Creates the specified Directory using PUT.
      29         /// </summary>
      30         /// <param name="directoryToCreate">The Directory to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created Directory.</returns>
    -+ 33         System.Threading.Tasks.Task<Directory> CreateAsync(Directory directoryToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified Directory.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified Directory.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified Directory.
      50         /// </summary>
      51         /// <returns>The Directory.</returns>
    -+ 52         System.Threading.Tasks.Task<Directory> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified Directory.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The Directory.</returns>
    -+ 59         System.Threading.Tasks.Task<Directory> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified Directory using PATCH.
      63         /// </summary>
      64         /// <param name="directoryToUpdate">The Directory to update.</param>
      65         /// <returns>The updated Directory.</returns>
    -+ 66         System.Threading.Tasks.Task<Directory> UpdateAsync(Directory directoryToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified Directory using PATCH.
      70         /// </summary>
      71         /// <param name="directoryToUpdate">The Directory to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated Directory.</returns>
    -+ 74         System.Threading.Tasks.Task<Directory> UpdateAsync(Directory directoryToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IDirectoryRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IDirectoryRequest Expand(Expression<Func<Directory, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IDirectoryRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IDirectoryRequest Select(Expression<Func<Directory, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IDirectoryObjectRestoreRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IDirectoryObjectRestoreRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IDirectoryObjectRestoreRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <param name="options">The query and header options for the request.</param>
      24         /// <returns>The built request.</returns>
    -+ 25         IDirectoryObjectRestoreRequest Request(IEnumerable<Option> options = null);
      26     }
      27 }

   
File: IDirectoryObjectRestoreRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IMethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The interface IDirectoryObjectRestoreRequest.
      19     /// </summary>
    -+ 20     public partial interface IDirectoryObjectRestoreRequest : IBaseRequest
      21     {
    = 22  
      23  
      24         /// <summary>
      25         /// Issues the POST request.
      26         /// </summary>
    -+ 27         System.Threading.Tasks.Task<DirectoryObject> PostAsync();
    = 28  
      29         /// <summary>
      30         /// Issues the POST request.
      31         /// </summary>
      32         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      33         /// <returns>The task to await for async call.</returns>
    -+ 34         System.Threading.Tasks.Task<DirectoryObject> PostAsync(
      35             CancellationToken cancellationToken);
    = 36         
      37  
      38  
      39  
      40  
      41  
      42         /// <summary>
      43         /// Adds the specified expand value to the request.
      44         /// </summary>
      45         /// <param name="value">The expand value.</param>
      46         /// <returns>The request object to send.</returns>
    -+ 47         IDirectoryObjectRestoreRequest Expand(string value);
    = 48  
      49         /// <summary>
      50         /// Adds the specified select value to the request.
      51         /// </summary>
      52         /// <param name="value">The select value.</param>
      53         /// <returns>The request object to send.</returns>
    -+ 54         IDirectoryObjectRestoreRequest Select(string value);
      55     }
      56 }

   
File: IDirectoryObjectRequestBuilder.cs  
52             bool? securityEnabledOnly = null); = 52             bool? securityEnabledOnly = null);
      53  
      54         /// <summary>
      55         /// Gets the request builder for DirectoryObjectRestore.
      56         /// </summary>
      57         /// <returns>The <see cref="IDirectoryObjectRestoreRequestBuilder"/>.</returns>
    -+ 58         IDirectoryObjectRestoreRequestBuilder Restore();
53      = 59     
54     }   60     }
55 }   61 }

   
File: IDirectoryDeletedItemsCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The interface IDirectoryDeletedItemsCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial interface IDirectoryDeletedItemsCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Builds the request.
      20         /// </summary>
      21         /// <returns>The built request.</returns>
    -+ 22         IDirectoryDeletedItemsCollectionRequest Request();
    = 23  
      24         /// <summary>
      25         /// Builds the request.
      26         /// </summary>
      27         /// <param name="options">The query and header options for the request.</param>
      28         /// <returns>The built request.</returns>
    -+ 29         IDirectoryDeletedItemsCollectionRequest Request(IEnumerable<Option> options);
    = 30  
      31         /// <summary>
      32         /// Gets an <see cref="IDirectoryObjectRequestBuilder"/> for the specified DirectoryObject.
      33         /// </summary>
      34         /// <param name="id">The ID for the DirectoryObject.</param>
      35         /// <returns>The <see cref="IDirectoryObjectRequestBuilder"/>.</returns>
    -+ 36         IDirectoryObjectRequestBuilder this[string id] { get; }
    = 37  
      38         /// <summary>
      39         /// Gets the request builder for DirectoryObjectGetByIds.
      40         /// </summary>
      41         /// <returns>The <see cref="IDirectoryObjectGetByIdsRequestBuilder"/>.</returns>
    -+ 42         IDirectoryObjectGetByIdsRequestBuilder GetByIds(
      43             IEnumerable<string> ids,
      44             IEnumerable<string> types = null);
      45     }
      46 }

   
File: IDirectoryDeletedItemsCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IDirectoryDeletedItemsCollectionRequest.
      19     /// </summary>
    -+ 20     public partial interface IDirectoryDeletedItemsCollectionRequest : IBaseRequest
      21     {
    = 22         
      23         /// <summary>
      24         /// Adds the specified DirectoryObject to the collection via POST.
      25         /// </summary>
      26         /// <param name="directoryObject">The DirectoryObject to add.</param>
      27         /// <returns>The created DirectoryObject.</returns>
    -+ 28         System.Threading.Tasks.Task<DirectoryObject> AddAsync(DirectoryObject directoryObject);
    = 29  
      30         /// <summary>
      31         /// Adds the specified DirectoryObject to the collection via POST.
      32         /// </summary>
      33         /// <param name="directoryObject">The DirectoryObject to add.</param>
      34         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      35         /// <returns>The created DirectoryObject.</returns>
    -+ 36         System.Threading.Tasks.Task<DirectoryObject> AddAsync(DirectoryObject directoryObject, CancellationToken cancellationToken);
    = 37         /// <summary>
      38         /// Gets the collection page.
      39         /// </summary>
      40         /// <returns>The collection page.</returns>
    -+ 41         System.Threading.Tasks.Task<IDirectoryDeletedItemsCollectionPage> GetAsync();
    = 42  
      43         /// <summary>
      44         /// Gets the collection page.
      45         /// </summary>
      46         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      47         /// <returns>The collection page.</returns>
    -+ 48         System.Threading.Tasks.Task<IDirectoryDeletedItemsCollectionPage> GetAsync(CancellationToken cancellationToken);
    = 49  
      50         /// <summary>
      51         /// Adds the specified expand value to the request.
      52         /// </summary>
      53         /// <param name="value">The expand value.</param>
      54         /// <returns>The request object to send.</returns>
    -+ 55         IDirectoryDeletedItemsCollectionRequest Expand(string value);
    = 56  
      57         /// <summary>
      58         /// Adds the specified expand value to the request.
      59         /// </summary>
      60         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      61         /// <returns>The request object to send.</returns>
    -+ 62         IDirectoryDeletedItemsCollectionRequest Expand(Expression<Func<DirectoryObject, object>> expandExpression);
    = 63  
      64         /// <summary>
      65         /// Adds the specified select value to the request.
      66         /// </summary>
      67         /// <param name="value">The select value.</param>
      68         /// <returns>The request object to send.</returns>
    -+ 69         IDirectoryDeletedItemsCollectionRequest Select(string value);
    = 70  
      71         /// <summary>
      72         /// Adds the specified select value to the request.
      73         /// </summary>
      74         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      75         /// <returns>The request object to send.</returns>
    -+ 76         IDirectoryDeletedItemsCollectionRequest Select(Expression<Func<DirectoryObject, object>> selectExpression);
    = 77  
      78         /// <summary>
      79         /// Adds the specified top value to the request.
      80         /// </summary>
      81         /// <param name="value">The top value.</param>
      82         /// <returns>The request object to send.</returns>
    -+ 83         IDirectoryDeletedItemsCollectionRequest Top(int value);
    = 84  
      85         /// <summary>
      86         /// Adds the specified filter value to the request.
      87         /// </summary>
      88         /// <param name="value">The filter value.</param>
      89         /// <returns>The request object to send.</returns>
    -+ 90         IDirectoryDeletedItemsCollectionRequest Filter(string value);
    = 91  
      92         /// <summary>
      93         /// Adds the specified skip value to the request.
      94         /// </summary>
      95         /// <param name="value">The skip value.</param>
      96         /// <returns>The request object to send.</returns>
    -+ 97         IDirectoryDeletedItemsCollectionRequest Skip(int value);
    = 98  
      99         /// <summary>
      100         /// Adds the specified orderby value to the request.
      101         /// </summary>
      102         /// <param name="value">The orderby value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         IDirectoryDeletedItemsCollectionRequest OrderBy(string value);
      105     }
      106 }

   
File: IDirectoryDeletedItemsCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
    -+ 13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The interface IDirectoryDeletedItemsCollectionPage.
      17     /// </summary>
    -+ 18     [JsonConverter(typeof(InterfaceConverter<DirectoryDeletedItemsCollectionPage>))]
      19     public interface IDirectoryDeletedItemsCollectionPage : ICollectionPage<DirectoryObject>
      20     {
    = 21         /// <summary>
      22         /// Gets the next page <see cref="IDirectoryDeletedItemsCollectionRequest"/> instance.
      23         /// </summary>
    -+ 24         IDirectoryDeletedItemsCollectionRequest NextPageRequest { get; }
    = 25  
      26         /// <summary>
      27         /// Initializes the NextPageRequest property.
      28         /// </summary>
    -+ 29         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      30     }
      31 }

   
File: IDeviceAppManagementVppTokensCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The interface IDeviceAppManagementVppTokensCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial interface IDeviceAppManagementVppTokensCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Builds the request.
      20         /// </summary>
      21         /// <returns>The built request.</returns>
    -+ 22         IDeviceAppManagementVppTokensCollectionRequest Request();
    = 23  
      24         /// <summary>
      25         /// Builds the request.
      26         /// </summary>
      27         /// <param name="options">The query and header options for the request.</param>
      28         /// <returns>The built request.</returns>
    -+ 29         IDeviceAppManagementVppTokensCollectionRequest Request(IEnumerable<Option> options);
    = 30  
      31         /// <summary>
      32         /// Gets an <see cref="IVppTokenRequestBuilder"/> for the specified VppToken.
      33         /// </summary>
      34         /// <param name="id">The ID for the VppToken.</param>
      35         /// <returns>The <see cref="IVppTokenRequestBuilder"/>.</returns>
    -+ 36         IVppTokenRequestBuilder this[string id] { get; }
    = 37  
      38         
    -+ 39     }
      40 }

   
File: IDeviceAppManagementVppTokensCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IDeviceAppManagementVppTokensCollectionRequest.
      19     /// </summary>
    -+ 20     public partial interface IDeviceAppManagementVppTokensCollectionRequest : IBaseRequest
      21     {
    = 22         
      23         /// <summary>
      24         /// Adds the specified VppToken to the collection via POST.
      25         /// </summary>
      26         /// <param name="vppToken">The VppToken to add.</param>
      27         /// <returns>The created VppToken.</returns>
    -+ 28         System.Threading.Tasks.Task<VppToken> AddAsync(VppToken vppToken);
    = 29  
      30         /// <summary>
      31         /// Adds the specified VppToken to the collection via POST.
      32         /// </summary>
      33         /// <param name="vppToken">The VppToken to add.</param>
      34         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      35         /// <returns>The created VppToken.</returns>
    -+ 36         System.Threading.Tasks.Task<VppToken> AddAsync(VppToken vppToken, CancellationToken cancellationToken);
    = 37         /// <summary>
      38         /// Gets the collection page.
      39         /// </summary>
      40         /// <returns>The collection page.</returns>
    -+ 41         System.Threading.Tasks.Task<IDeviceAppManagementVppTokensCollectionPage> GetAsync();
    = 42  
      43         /// <summary>
      44         /// Gets the collection page.
      45         /// </summary>
      46         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      47         /// <returns>The collection page.</returns>
    -+ 48         System.Threading.Tasks.Task<IDeviceAppManagementVppTokensCollectionPage> GetAsync(CancellationToken cancellationToken);
    = 49  
      50         /// <summary>
      51         /// Adds the specified expand value to the request.
      52         /// </summary>
      53         /// <param name="value">The expand value.</param>
      54         /// <returns>The request object to send.</returns>
    -+ 55         IDeviceAppManagementVppTokensCollectionRequest Expand(string value);
    = 56  
      57         /// <summary>
      58         /// Adds the specified expand value to the request.
      59         /// </summary>
      60         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      61         /// <returns>The request object to send.</returns>
    -+ 62         IDeviceAppManagementVppTokensCollectionRequest Expand(Expression<Func<VppToken, object>> expandExpression);
    = 63  
      64         /// <summary>
      65         /// Adds the specified select value to the request.
      66         /// </summary>
      67         /// <param name="value">The select value.</param>
      68         /// <returns>The request object to send.</returns>
    -+ 69         IDeviceAppManagementVppTokensCollectionRequest Select(string value);
    = 70  
      71         /// <summary>
      72         /// Adds the specified select value to the request.
      73         /// </summary>
      74         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      75         /// <returns>The request object to send.</returns>
    -+ 76         IDeviceAppManagementVppTokensCollectionRequest Select(Expression<Func<VppToken, object>> selectExpression);
    = 77  
      78         /// <summary>
      79         /// Adds the specified top value to the request.
      80         /// </summary>
      81         /// <param name="value">The top value.</param>
      82         /// <returns>The request object to send.</returns>
    -+ 83         IDeviceAppManagementVppTokensCollectionRequest Top(int value);
    = 84  
      85         /// <summary>
      86         /// Adds the specified filter value to the request.
      87         /// </summary>
      88         /// <param name="value">The filter value.</param>
      89         /// <returns>The request object to send.</returns>
    -+ 90         IDeviceAppManagementVppTokensCollectionRequest Filter(string value);
    = 91  
      92         /// <summary>
      93         /// Adds the specified skip value to the request.
      94         /// </summary>
      95         /// <param name="value">The skip value.</param>
      96         /// <returns>The request object to send.</returns>
    -+ 97         IDeviceAppManagementVppTokensCollectionRequest Skip(int value);
    = 98  
      99         /// <summary>
      100         /// Adds the specified orderby value to the request.
      101         /// </summary>
      102         /// <param name="value">The orderby value.</param>
      103         /// <returns>The request object to send.</returns>
    -+ 104         IDeviceAppManagementVppTokensCollectionRequest OrderBy(string value);
      105     }
      106 }

   
File: IDeviceAppManagementVppTokensCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
    -+ 13     using Newtonsoft.Json;
    = 14  
      15     /// <summary>
      16     /// The interface IDeviceAppManagementVppTokensCollectionPage.
      17     /// </summary>
    -+ 18     [JsonConverter(typeof(InterfaceConverter<DeviceAppManagementVppTokensCollectionPage>))]
      19     public interface IDeviceAppManagementVppTokensCollectionPage : ICollectionPage<VppToken>
      20     {
    = 21         /// <summary>
      22         /// Gets the next page <see cref="IDeviceAppManagementVppTokensCollectionRequest"/> instance.
      23         /// </summary>
    -+ 24         IDeviceAppManagementVppTokensCollectionRequest NextPageRequest { get; }
    = 25  
      26         /// <summary>
      27         /// Initializes the NextPageRequest property.
      28         /// </summary>
    -+ 29         void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString);
      30     }
      31 }

   
File: IDeviceAppManagementRequestBuilder.cs  
49         IDeviceAppManagementMobileAppConfigurationsCollectionRequestBuilder MobileAppConfigurations { get; } = 49         IDeviceAppManagementMobileAppConfigurationsCollectionRequestBuilder MobileAppConfigurations { get; }
50     50  
51         /// <summary>   51         /// <summary>
      52         /// Gets the request builder for VppTokens.
      53         /// </summary>
      54         /// <returns>The <see cref="IDeviceAppManagementVppTokensCollectionRequestBuilder"/>.</returns>
    -+ 55         IDeviceAppManagementVppTokensCollectionRequestBuilder VppTokens { get; }
    = 56  
      57         /// <summary>
52         /// Gets the request builder for ManagedAppPolicies.   58         /// Gets the request builder for ManagedAppPolicies.
53         /// </summary>   59         /// </summary>
54         /// <returns>The <see cref="IDeviceAppManagementManagedAppPoliciesCollectionRequestBuilder"/>.</returns>   60         /// <returns>The <see cref="IDeviceAppManagementManagedAppPoliciesCollectionRequestBuilder"/>.</returns>
55         IDeviceAppManagementManagedAppPoliciesCollectionRequestBuilder ManagedAppPolicies { get; }   61         IDeviceAppManagementManagedAppPoliciesCollectionRequestBuilder ManagedAppPolicies { get; }

   
File: IBaseItemVersionRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IBaseItemVersionRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IBaseItemVersionRequestBuilder : IEntityRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IBaseItemVersionRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IBaseItemVersionRequest Request(IEnumerable<Option> options);
    = 32     
    -+ 33     }
      34 }

   
File: IBaseItemVersionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IBaseItemVersionRequest.
      19     /// </summary>
    -+ 20     public partial interface IBaseItemVersionRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified BaseItemVersion using PUT.
      24         /// </summary>
      25         /// <param name="baseItemVersionToCreate">The BaseItemVersion to create.</param>
      26         /// <returns>The created BaseItemVersion.</returns>
    -+ 27         System.Threading.Tasks.Task<BaseItemVersion> CreateAsync(BaseItemVersion baseItemVersionToCreate);        /// <summary>
    = 28         /// Creates the specified BaseItemVersion using PUT.
      29         /// </summary>
      30         /// <param name="baseItemVersionToCreate">The BaseItemVersion to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created BaseItemVersion.</returns>
    -+ 33         System.Threading.Tasks.Task<BaseItemVersion> CreateAsync(BaseItemVersion baseItemVersionToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified BaseItemVersion.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified BaseItemVersion.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified BaseItemVersion.
      50         /// </summary>
      51         /// <returns>The BaseItemVersion.</returns>
    -+ 52         System.Threading.Tasks.Task<BaseItemVersion> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified BaseItemVersion.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The BaseItemVersion.</returns>
    -+ 59         System.Threading.Tasks.Task<BaseItemVersion> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified BaseItemVersion using PATCH.
      63         /// </summary>
      64         /// <param name="baseItemVersionToUpdate">The BaseItemVersion to update.</param>
      65         /// <returns>The updated BaseItemVersion.</returns>
    -+ 66         System.Threading.Tasks.Task<BaseItemVersion> UpdateAsync(BaseItemVersion baseItemVersionToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified BaseItemVersion using PATCH.
      70         /// </summary>
      71         /// <param name="baseItemVersionToUpdate">The BaseItemVersion to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated BaseItemVersion.</returns>
    -+ 74         System.Threading.Tasks.Task<BaseItemVersion> UpdateAsync(BaseItemVersion baseItemVersionToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IBaseItemVersionRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IBaseItemVersionRequest Expand(Expression<Func<BaseItemVersion, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IBaseItemVersionRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IBaseItemVersionRequest Select(Expression<Func<BaseItemVersion, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: IActivityHistoryItemRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The interface IActivityHistoryItemRequestBuilder.
      17     /// </summary>
    -+ 18     public partial interface IActivityHistoryItemRequestBuilder : IEntityRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Builds the request.
      22         /// </summary>
      23         /// <returns>The built request.</returns>
    -+ 24         new IActivityHistoryItemRequest Request();
    = 25  
      26         /// <summary>
      27         /// Builds the request.
      28         /// </summary>
      29         /// <param name="options">The query and header options for the request.</param>
      30         /// <returns>The built request.</returns>
    -+ 31         new IActivityHistoryItemRequest Request(IEnumerable<Option> options);
    = 32     
      33         /// <summary>
      34         /// Gets the request builder for Activity.
      35         /// </summary>
      36         /// <returns>The <see cref="IUserActivityWithReferenceRequestBuilder"/>.</returns>
    -+ 37         IUserActivityWithReferenceRequestBuilder Activity { get; }
    = 38     
    -+ 39     }
      40 }

   
File: IActivityHistoryItemRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\IEntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The interface IActivityHistoryItemRequest.
      19     /// </summary>
    -+ 20     public partial interface IActivityHistoryItemRequest : IBaseRequest
      21     {
    = 22         /// <summary>
      23         /// Creates the specified ActivityHistoryItem using PUT.
      24         /// </summary>
      25         /// <param name="activityHistoryItemToCreate">The ActivityHistoryItem to create.</param>
      26         /// <returns>The created ActivityHistoryItem.</returns>
    -+ 27         System.Threading.Tasks.Task<ActivityHistoryItem> CreateAsync(ActivityHistoryItem activityHistoryItemToCreate);        /// <summary>
    = 28         /// Creates the specified ActivityHistoryItem using PUT.
      29         /// </summary>
      30         /// <param name="activityHistoryItemToCreate">The ActivityHistoryItem to create.</param>
      31         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      32         /// <returns>The created ActivityHistoryItem.</returns>
    -+ 33         System.Threading.Tasks.Task<ActivityHistoryItem> CreateAsync(ActivityHistoryItem activityHistoryItemToCreate, CancellationToken cancellationToken);
    = 34  
      35         /// <summary>
      36         /// Deletes the specified ActivityHistoryItem.
      37         /// </summary>
      38         /// <returns>The task to await.</returns>
    -+ 39         System.Threading.Tasks.Task DeleteAsync();
    = 40  
      41         /// <summary>
      42         /// Deletes the specified ActivityHistoryItem.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await.</returns>
    -+ 46         System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken);
    = 47  
      48         /// <summary>
      49         /// Gets the specified ActivityHistoryItem.
      50         /// </summary>
      51         /// <returns>The ActivityHistoryItem.</returns>
    -+ 52         System.Threading.Tasks.Task<ActivityHistoryItem> GetAsync();
    = 53  
      54         /// <summary>
      55         /// Gets the specified ActivityHistoryItem.
      56         /// </summary>
      57         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      58         /// <returns>The ActivityHistoryItem.</returns>
    -+ 59         System.Threading.Tasks.Task<ActivityHistoryItem> GetAsync(CancellationToken cancellationToken);
    = 60  
      61         /// <summary>
      62         /// Updates the specified ActivityHistoryItem using PATCH.
      63         /// </summary>
      64         /// <param name="activityHistoryItemToUpdate">The ActivityHistoryItem to update.</param>
      65         /// <returns>The updated ActivityHistoryItem.</returns>
    -+ 66         System.Threading.Tasks.Task<ActivityHistoryItem> UpdateAsync(ActivityHistoryItem activityHistoryItemToUpdate);
    = 67  
      68         /// <summary>
      69         /// Updates the specified ActivityHistoryItem using PATCH.
      70         /// </summary>
      71         /// <param name="activityHistoryItemToUpdate">The ActivityHistoryItem to update.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <returns>The updated ActivityHistoryItem.</returns>
    -+ 74         System.Threading.Tasks.Task<ActivityHistoryItem> UpdateAsync(ActivityHistoryItem activityHistoryItemToUpdate, CancellationToken cancellationToken);
    = 75  
      76         /// <summary>
      77         /// Adds the specified expand value to the request.
      78         /// </summary>
      79         /// <param name="value">The expand value.</param>
      80         /// <returns>The request object to send.</returns>
    -+ 81         IActivityHistoryItemRequest Expand(string value);
    = 82  
      83         /// <summary>
      84         /// Adds the specified expand value to the request.
      85         /// </summary>
      86         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      87         /// <returns>The request object to send.</returns>
    -+ 88         IActivityHistoryItemRequest Expand(Expression<Func<ActivityHistoryItem, object>> expandExpression);
    = 89  
      90         /// <summary>
      91         /// Adds the specified select value to the request.
      92         /// </summary>
      93         /// <param name="value">The select value.</param>
      94         /// <returns>The request object to send.</returns>
    -+ 95         IActivityHistoryItemRequest Select(string value);
    = 96  
      97         /// <summary>
      98         /// Adds the specified select value to the request.
      99         /// </summary>
      100         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      101         /// <returns>The request object to send.</returns>
    -+ 102         IActivityHistoryItemRequest Select(Expression<Func<ActivityHistoryItem, object>> selectExpression);
    = 103  
    -+ 104     }
      105 }

   
File: GraphServiceClient.cs  
282             } = 282             }
283         }   283         }
284        284     
285         /// <summary>   285         /// <summary>
      286         /// Gets the GraphServiceDirectory request builder.
      287         /// </summary>
    -+ 288         public IDirectoryRequestBuilder Directory
      289         {
      290             get
      291             {
      292                 return new DirectoryRequestBuilder(this.BaseUrl + "/directory", this);
      293             }
      294         }
    = 295     
      296         /// <summary>
286         /// Gets the GraphServiceDrive request builder.   297         /// Gets the GraphServiceDrive request builder.
287         /// </summary>   298         /// </summary>
288         public IDriveRequestBuilder Drive   299         public IDriveRequestBuilder Drive
289         {   300         {

   
File: DriveItemVersionsCollectionResponse.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionResponse.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System.Collections.Generic;
      11     using System.Runtime.Serialization;
      12     using Newtonsoft.Json;
    = 13  
      14     /// <summary>
      15     /// The type DriveItemVersionsCollectionResponse.
      16     /// </summary>
    -+ 17     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      18     public class DriveItemVersionsCollectionResponse
      19     {
    = 20         /// <summary>
      21         /// Gets or sets the <see cref="IDriveItemVersionsCollectionPage"/> value.
      22         /// </summary>
    -+ 23         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Newtonsoft.Json.Required.Default)]
      24         public IDriveItemVersionsCollectionPage Value { get; set; }
    = 25  
      26         /// <summary>
      27         /// Gets or sets additional data.
      28         /// </summary>
    -+ 29         [JsonExtensionData(ReadData = true)]
      30         public IDictionary<string, object> AdditionalData { get; set; }
      31     }
      32 }

   
File: DriveItemVersionsCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The type DriveItemVersionsCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial class DriveItemVersionsCollectionRequestBuilder : BaseRequestBuilder, IDriveItemVersionsCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Constructs a new DriveItemVersionsCollectionRequestBuilder.
      20         /// </summary>
      21         /// <param name="requestUrl">The URL for the built request.</param>
      22         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 23         public DriveItemVersionsCollectionRequestBuilder(
      24             string requestUrl,
      25             IBaseClient client)
      26             : base(requestUrl, client)
      27         {
      28         }
    = 29  
      30         /// <summary>
      31         /// Builds the request.
      32         /// </summary>
      33         /// <returns>The built request.</returns>
    -+ 34         public IDriveItemVersionsCollectionRequest Request()
      35         {
      36             return this.Request(null);
      37         }
    = 38  
      39         /// <summary>
      40         /// Builds the request.
      41         /// </summary>
      42         /// <param name="options">The query and header options for the request.</param>
      43         /// <returns>The built request.</returns>
    -+ 44         public IDriveItemVersionsCollectionRequest Request(IEnumerable<Option> options)
      45         {
      46             return new DriveItemVersionsCollectionRequest(this.RequestUrl, this.Client, options);
      47         }
    = 48  
      49         /// <summary>
      50         /// Gets an <see cref="IDriveItemVersionRequestBuilder"/> for the specified DriveItemDriveItemVersion.
      51         /// </summary>
      52         /// <param name="id">The ID for the DriveItemDriveItemVersion.</param>
      53         /// <returns>The <see cref="IDriveItemVersionRequestBuilder"/>.</returns>
    -+ 54         public IDriveItemVersionRequestBuilder this[string id]
      55         {
      56             get
      57             {
      58                 return new DriveItemVersionRequestBuilder(this.AppendSegmentToRequestUrl(id), this.Client);
      59             }
      60         }
    = 61  
      62         
    -+ 63     }
      64 }

   
File: DriveItemVersionsCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The type DriveItemVersionsCollectionRequest.
      19     /// </summary>
    -+ 20     public partial class DriveItemVersionsCollectionRequest : BaseRequest, IDriveItemVersionsCollectionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new DriveItemVersionsCollectionRequest.
      24         /// </summary>
      25         /// <param name="requestUrl">The URL for the built request.</param>
      26         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      27         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 28         public DriveItemVersionsCollectionRequest(
      29             string requestUrl,
      30             IBaseClient client,
      31             IEnumerable<Option> options)
      32             : base(requestUrl, client, options)
      33         {
      34         }
    = 35         
      36         /// <summary>
      37         /// Adds the specified DriveItemVersion to the collection via POST.
      38         /// </summary>
      39         /// <param name="driveItemVersion">The DriveItemVersion to add.</param>
      40         /// <returns>The created DriveItemVersion.</returns>
    -+ 41         public System.Threading.Tasks.Task<DriveItemVersion> AddAsync(DriveItemVersion driveItemVersion)
      42         {
      43             return this.AddAsync(driveItemVersion, CancellationToken.None);
      44         }
    = 45  
      46         /// <summary>
      47         /// Adds the specified DriveItemVersion to the collection via POST.
      48         /// </summary>
      49         /// <param name="driveItemVersion">The DriveItemVersion to add.</param>
      50         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      51         /// <returns>The created DriveItemVersion.</returns>
    -+ 52         public System.Threading.Tasks.Task<DriveItemVersion> AddAsync(DriveItemVersion driveItemVersion, CancellationToken cancellationToken)
      53         {
      54             this.ContentType = "application/json";
      55             this.Method = "POST";
      56             return this.SendAsync<DriveItemVersion>(driveItemVersion, cancellationToken);
      57         }
    = 58  
      59         /// <summary>
      60         /// Gets the collection page.
      61         /// </summary>
      62         /// <returns>The collection page.</returns>
    -+ 63         public System.Threading.Tasks.Task<IDriveItemVersionsCollectionPage> GetAsync()
      64         {
      65             return this.GetAsync(CancellationToken.None);
      66         }
    = 67  
      68         /// <summary>
      69         /// Gets the collection page.
      70         /// </summary>
      71         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      72         /// <returns>The collection page.</returns>
    -+ 73         public async System.Threading.Tasks.Task<IDriveItemVersionsCollectionPage> GetAsync(CancellationToken cancellationToken)
      74         {
      75             this.Method = "GET";
      76             var response = await this.SendAsync<DriveItemVersionsCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      77             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      78             {
      79                 if (response.AdditionalData != null)
      80                 {
      81                     object nextPageLink;
      82                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 83  
    -+ 84                     var nextPageLinkString = nextPageLink as string;
    = 85  
    -+ 86                     if (!string.IsNullOrEmpty(nextPageLinkString))
      87                     {
      88                         response.Value.InitializeNextPageRequest(
      89                             this.Client,
      90                             nextPageLinkString);
      91                     }
    = 92  
      93                     // Copy the additional data collection to the page itself so that information is not lost
    -+ 94                     response.Value.AdditionalData = response.AdditionalData;
      95                 }
    = 96  
    -+ 97                 return response.Value;
      98             }
    = 99  
    -+ 100             return null;
      101         }
    = 102  
      103         /// <summary>
      104         /// Adds the specified expand value to the request.
      105         /// </summary>
      106         /// <param name="value">The expand value.</param>
      107         /// <returns>The request object to send.</returns>
    -+ 108         public IDriveItemVersionsCollectionRequest Expand(string value)
      109         {
      110             this.QueryOptions.Add(new QueryOption("$expand", value));
      111             return this;
      112         }
    = 113  
      114         /// <summary>
      115         /// Adds the specified expand value to the request.
      116         /// </summary>
      117         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      118         /// <returns>The request object to send.</returns>
    -+ 119         public IDriveItemVersionsCollectionRequest Expand(Expression<Func<DriveItemVersion, object>> expandExpression)
      120         {
      121             if (expandExpression == null)
      122             {
      123                 throw new ArgumentNullException(nameof(expandExpression));
      124             }
      125             string error;
      126             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      127             if (value == null)
      128             {
      129                 throw new ArgumentException(error, nameof(expandExpression));
      130             }
      131             else
      132             {
      133                 this.QueryOptions.Add(new QueryOption("$expand", value));
      134             }
      135             return this;
      136         }
    = 137  
      138         /// <summary>
      139         /// Adds the specified select value to the request.
      140         /// </summary>
      141         /// <param name="value">The select value.</param>
      142         /// <returns>The request object to send.</returns>
    -+ 143         public IDriveItemVersionsCollectionRequest Select(string value)
      144         {
      145             this.QueryOptions.Add(new QueryOption("$select", value));
      146             return this;
      147         }
    = 148  
      149         /// <summary>
      150         /// Adds the specified select value to the request.
      151         /// </summary>
      152         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      153         /// <returns>The request object to send.</returns>
    -+ 154         public IDriveItemVersionsCollectionRequest Select(Expression<Func<DriveItemVersion, object>> selectExpression)
      155         {
      156             if (selectExpression == null)
      157             {
      158                 throw new ArgumentNullException(nameof(selectExpression));
      159             }
      160             string error;
      161             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      162             if (value == null)
      163             {
      164                 throw new ArgumentException(error, nameof(selectExpression));
      165             }
      166             else
      167             {
      168                 this.QueryOptions.Add(new QueryOption("$select", value));
      169             }
      170             return this;
      171         }
    = 172  
      173         /// <summary>
      174         /// Adds the specified top value to the request.
      175         /// </summary>
      176         /// <param name="value">The top value.</param>
      177         /// <returns>The request object to send.</returns>
    -+ 178         public IDriveItemVersionsCollectionRequest Top(int value)
      179         {
      180             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      181             return this;
      182         }
    = 183  
      184         /// <summary>
      185         /// Adds the specified filter value to the request.
      186         /// </summary>
      187         /// <param name="value">The filter value.</param>
      188         /// <returns>The request object to send.</returns>
    -+ 189         public IDriveItemVersionsCollectionRequest Filter(string value)
      190         {
      191             this.QueryOptions.Add(new QueryOption("$filter", value));
      192             return this;
      193         }
    = 194  
      195         /// <summary>
      196         /// Adds the specified skip value to the request.
      197         /// </summary>
      198         /// <param name="value">The skip value.</param>
      199         /// <returns>The request object to send.</returns>
    -+ 200         public IDriveItemVersionsCollectionRequest Skip(int value)
      201         {
      202             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      203             return this;
      204         }
    = 205  
      206         /// <summary>
      207         /// Adds the specified orderby value to the request.
      208         /// </summary>
      209         /// <param name="value">The orderby value.</param>
      210         /// <returns>The request object to send.</returns>
    -+ 211         public IDriveItemVersionsCollectionRequest OrderBy(string value)
      212         {
      213             this.QueryOptions.Add(new QueryOption("$orderby", value));
      214             return this;
      215         }
      216     }
      217 }

   
File: DriveItemVersionsCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
      13     /// <summary>
      14     /// The type DriveItemVersionsCollectionPage.
      15     /// </summary>
    -+ 16     public partial class DriveItemVersionsCollectionPage : CollectionPage<DriveItemVersion>, IDriveItemVersionsCollectionPage
      17     {
    = 18         /// <summary>
      19         /// Gets the next page <see cref="IDriveItemVersionsCollectionRequest"/> instance.
      20         /// </summary>
    -+ 21         public IDriveItemVersionsCollectionRequest NextPageRequest { get; private set; }
    = 22  
      23         /// <summary>
      24         /// Initializes the NextPageRequest property.
      25         /// </summary>
    -+ 26         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      27         {
      28             if (!string.IsNullOrEmpty(nextPageLinkString))
      29             {
      30                 this.NextPageRequest = new DriveItemVersionsCollectionRequest(
      31                     nextPageLinkString,
      32                     client,
      33                     null);
      34             }
      35         }
      36     }
      37 }

   
File: DriveItemVersionRestoreVersionRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type DriveItemVersionRestoreVersionRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class DriveItemVersionRestoreVersionRequestBuilder : BaseActionMethodRequestBuilder<IDriveItemVersionRestoreVersionRequest>, IDriveItemVersionRestoreVersionRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Constructs a new <see cref="DriveItemVersionRestoreVersionRequestBuilder"/>.
      22         /// </summary>
      23         /// <param name="requestUrl">The URL for the request.</param>
      24         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 25         public DriveItemVersionRestoreVersionRequestBuilder(
      26             string requestUrl,
      27             IBaseClient client)
      28             : base(requestUrl, client)
      29         {
      30         }
    = 31  
      32         /// <summary>
      33         /// A method used by the base class to construct a request class instance.
      34         /// </summary>
      35         /// <param name="functionUrl">The request URL to </param>
      36         /// <param name="options">The query and header options for the request.</param>
      37         /// <returns>An instance of a specific request class.</returns>
    -+ 38         protected override IDriveItemVersionRestoreVersionRequest CreateRequest(string functionUrl, IEnumerable<Option> options)
      39         {
      40             var request = new DriveItemVersionRestoreVersionRequest(functionUrl, this.Client, options);
    = 41  
    -+ 42             return request;
      43         }
      44     }
      45 }

   
File: DriveItemVersionRestoreVersionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The type DriveItemVersionRestoreVersionRequest.
      19     /// </summary>
    -+ 20     public partial class DriveItemVersionRestoreVersionRequest : BaseRequest, IDriveItemVersionRestoreVersionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new DriveItemVersionRestoreVersionRequest.
      24         /// </summary>
    -+ 25         public DriveItemVersionRestoreVersionRequest(
      26             string requestUrl,
      27             IBaseClient client,
      28             IEnumerable<Option> options)
      29             : base(requestUrl, client, options)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Issues the POST request.
      35         /// </summary>
    -+ 36         public System.Threading.Tasks.Task PostAsync()
      37         {
      38             return this.PostAsync(CancellationToken.None);
      39         }
    = 40  
      41         /// <summary>
      42         /// Issues the POST request.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await for async call.</returns>
    -+ 46         public System.Threading.Tasks.Task PostAsync(
      47             CancellationToken cancellationToken)
      48         {
      49             this.Method = "POST";
      50             return this.SendAsync(null, cancellationToken);
      51         }
    = 52  
      53  
      54  
      55  
      56         /// <summary>
      57         /// Adds the specified expand value to the request.
      58         /// </summary>
      59         /// <param name="value">The expand value.</param>
      60         /// <returns>The request object to send.</returns>
    -+ 61         public IDriveItemVersionRestoreVersionRequest Expand(string value)
      62         {
      63             this.QueryOptions.Add(new QueryOption("$expand", value));
      64             return this;
      65         }
    = 66  
      67         /// <summary>
      68         /// Adds the specified select value to the request.
      69         /// </summary>
      70         /// <param name="value">The select value.</param>
      71         /// <returns>The request object to send.</returns>
    -+ 72         public IDriveItemVersionRestoreVersionRequest Select(string value)
      73         {
      74             this.QueryOptions.Add(new QueryOption("$select", value));
      75             return this;
      76         }
      77     }
      78 }

   
File: DriveItemVersionRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type DriveItemVersionRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class DriveItemVersionRequestBuilder : BaseItemVersionRequestBuilder, IDriveItemVersionRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new DriveItemVersionRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public DriveItemVersionRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IDriveItemVersionRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IDriveItemVersionRequest Request(IEnumerable<Option> options)
      48         {
      49             return new DriveItemVersionRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
      52         /// <summary>
      53         /// Gets the request builder for Content.
      54         /// </summary>
      55         /// <returns>The <see cref="IDriveItemVersionContentRequestBuilder"/>.</returns>
    -+ 56         public IDriveItemVersionContentRequestBuilder Content
      57         {
      58             get
      59             {
      60                 return new DriveItemVersionContentRequestBuilder(this.AppendSegmentToRequestUrl("content"), this.Client);
      61             }
      62         }
    = 63     
      64         /// <summary>
      65         /// Gets the request builder for DriveItemVersionRestoreVersion.
      66         /// </summary>
      67         /// <returns>The <see cref="IDriveItemVersionRestoreVersionRequestBuilder"/>.</returns>
    -+ 68         public IDriveItemVersionRestoreVersionRequestBuilder RestoreVersion()
      69         {
      70             return new DriveItemVersionRestoreVersionRequestBuilder(
      71                 this.AppendSegmentToRequestUrl("microsoft.graph.restoreVersion"),
      72                 this.Client);
      73         }
    = 74     
    -+ 75     }
      76 }

   
File: DriveItemVersionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type DriveItemVersionRequest.
      20     /// </summary>
    -+ 21     public partial class DriveItemVersionRequest : BaseRequest, IDriveItemVersionRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new DriveItemVersionRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public DriveItemVersionRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified DriveItemVersion using POST.
      39         /// </summary>
      40         /// <param name="driveItemVersionToCreate">The DriveItemVersion to create.</param>
      41         /// <returns>The created DriveItemVersion.</returns>
    -+ 42         public System.Threading.Tasks.Task<DriveItemVersion> CreateAsync(DriveItemVersion driveItemVersionToCreate)
      43         {
      44             return this.CreateAsync(driveItemVersionToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified DriveItemVersion using POST.
      49         /// </summary>
      50         /// <param name="driveItemVersionToCreate">The DriveItemVersion to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created DriveItemVersion.</returns>
    -+ 53         public async System.Threading.Tasks.Task<DriveItemVersion> CreateAsync(DriveItemVersion driveItemVersionToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<DriveItemVersion>(driveItemVersionToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified DriveItemVersion.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified DriveItemVersion.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<DriveItemVersion>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified DriveItemVersion.
      84         /// </summary>
      85         /// <returns>The DriveItemVersion.</returns>
    -+ 86         public System.Threading.Tasks.Task<DriveItemVersion> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified DriveItemVersion.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The DriveItemVersion.</returns>
    -+ 96         public async System.Threading.Tasks.Task<DriveItemVersion> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<DriveItemVersion>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified DriveItemVersion using PATCH.
      106         /// </summary>
      107         /// <param name="driveItemVersionToUpdate">The DriveItemVersion to update.</param>
      108         /// <returns>The updated DriveItemVersion.</returns>
    -+ 109         public System.Threading.Tasks.Task<DriveItemVersion> UpdateAsync(DriveItemVersion driveItemVersionToUpdate)
      110         {
      111             return this.UpdateAsync(driveItemVersionToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified DriveItemVersion using PATCH.
      116         /// </summary>
      117         /// <param name="driveItemVersionToUpdate">The DriveItemVersion to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated DriveItemVersion.</returns>
    -+ 120         public async System.Threading.Tasks.Task<DriveItemVersion> UpdateAsync(DriveItemVersion driveItemVersionToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<DriveItemVersion>(driveItemVersionToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IDriveItemVersionRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IDriveItemVersionRequest Expand(Expression<Func<DriveItemVersion, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IDriveItemVersionRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IDriveItemVersionRequest Select(Expression<Func<DriveItemVersion, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="driveItemVersionToInitialize">The <see cref="DriveItemVersion"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(DriveItemVersion driveItemVersionToInitialize)
      204         {
    = 205  
    -+ 206         }
      207     }
      208 }

   
File: DriveItemVersionContentRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\StreamRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The type DriveItemVersionContentRequestBuilder.
      15     /// </summary>
    -+ 16     public partial class DriveItemVersionContentRequestBuilder : BaseRequestBuilder, IDriveItemVersionContentRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Constructs a new DriveItemVersionContentRequestBuilder.
      20         /// </summary>
      21         /// <param name="requestUrl">The URL for the built request.</param>
      22         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 23         public DriveItemVersionContentRequestBuilder(
      24             string requestUrl,
      25             IBaseClient client)
      26             : base(requestUrl, client)
      27         {
      28         }
    = 29  
      30         /// <summary>
      31         /// Builds the request.
      32         /// </summary>
      33         /// <param name="options">The query and header options for the request.</param>
      34         /// <returns>The built request.</returns>
    -+ 35         public IDriveItemVersionContentRequest Request(IEnumerable<Option> options = null)
      36         {
      37             return new DriveItemVersionContentRequest(this.RequestUrl, this.Client, options);
      38         }
      39     }
      40 }

   
File: DriveItemVersionContentRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\StreamRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System.Collections.Generic;
      12     using System.IO;
      13     using System.Net.Http;
      14     using System.Threading;
    = 15  
      16     /// <summary>
      17     /// The type DriveItemVersionContentRequest.
      18     /// </summary>
    -+ 19     public partial class DriveItemVersionContentRequest : BaseRequest, IDriveItemVersionContentRequest
      20     {
    = 21         /// <summary>
      22         /// Constructs a new DriveItemVersionContentRequest.
      23         /// <param name="requestUrl">The request URL.</param>
      24         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      25         /// <param name="options">Query option name value pairs for the request.</param>
      26         /// </summary>
    -+ 27         public DriveItemVersionContentRequest(
      28             string requestUrl,
      29             IBaseClient client,
      30             IEnumerable<Option> options)
      31             : base(requestUrl, client, options)
      32         {
      33         }
    = 34  
      35         /// <summary>
      36         /// Gets the stream.
      37         /// </summary>
      38         /// <returns>The stream.</returns>
    -+ 39         public System.Threading.Tasks.Task<Stream> GetAsync()
      40         {
      41             return this.GetAsync(CancellationToken.None);
      42         }
    = 43  
      44         /// <summary>
      45         /// Gets the stream.
      46         /// </summary>
      47         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      48         /// <param name="completionOption">The <see cref="HttpCompletionOption"/> to pass to the <see cref="IHttpProvider"/> on send.</param>
      49         /// <returns>The stream.</returns>
    -+ 50         public System.Threading.Tasks.Task<Stream> GetAsync(CancellationToken cancellationToken, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
      51         {
      52             this.Method = "GET";
      53             return this.SendStreamRequestAsync(null, cancellationToken, completionOption);
      54         }
    = 55     
      56         /// <summary>
      57         /// PUTs the specified stream.
      58         /// </summary>
      59         /// <typeparam name="T">The type returned by the PUT call.</typeparam>
      60         /// <param name="content">The stream to PUT.</param>
      61         /// <returns>The object returned by the PUT call.</returns>
    -+ 62         public System.Threading.Tasks.Task<T> PutAsync<T>(Stream content) where T : DriveItemVersion
      63         {
      64             return this.PutAsync<T>(content, CancellationToken.None);
      65         }
    = 66  
      67         /// <summary>
      68         /// PUTs the specified stream.
      69         /// </summary>
      70         /// <typeparam name="T">The type returned by the PUT call.</typeparam>
      71         /// <param name="content">The stream to PUT.</param>
      72         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      73         /// <param name="completionOption">The <see cref="HttpCompletionOption"/> to pass to the <see cref="IHttpProvider"/> on send.</param>
      74         /// <returns>The object returned by the PUT call.</returns>
    -+ 75         public System.Threading.Tasks.Task<T> PutAsync<T>(Stream content, CancellationToken cancellationToken, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead) where T : DriveItemVersion
      76         {
      77             this.ContentType = "application/octet-stream";
      78             this.Method = "PUT";
      79             return this.SendAsync<T>(content, cancellationToken, completionOption);
      80         }
    = 81     
    -+ 82     }
      83 }

   
File: DriveItemRequestBuilder.cs  
98         } = 98         }
99     99  
100         /// <summary>   100         /// <summary>
      101         /// Gets the request builder for Versions.
      102         /// </summary>
      103         /// <returns>The <see cref="IDriveItemVersionsCollectionRequestBuilder"/>.</returns>
    -+ 104         public IDriveItemVersionsCollectionRequestBuilder Versions
      105         {
      106             get
      107             {
      108                 return new DriveItemVersionsCollectionRequestBuilder(this.AppendSegmentToRequestUrl("versions"), this.Client);
      109             }
      110         }
    = 111  
      112         /// <summary>
101         /// Gets the request builder for Workbook.   113         /// Gets the request builder for Workbook.
102         /// </summary>   114         /// </summary>
103         /// <returns>The <see cref="IWorkbookRequestBuilder"/>.</returns>   115         /// <returns>The <see cref="IWorkbookRequestBuilder"/>.</returns>
104         public IWorkbookRequestBuilder Workbook   116         public IWorkbookRequestBuilder Workbook

   
File: DriveItemRequest.cs  
251                         driveItemToInitialize.Thumbnails.InitializeNextPageRequest( = 251                         driveItemToInitialize.Thumbnails.InitializeNextPageRequest(
252                             this.Client,   252                             this.Client,
253                             nextPageLinkString);   253                             nextPageLinkString);
254                     }   254                     }
255                 }   255                 }
256     256  
    -+ 257                 if (driveItemToInitialize.Versions != null && driveItemToInitialize.Versions.CurrentPage != null)
      258                 {
      259                     driveItemToInitialize.Versions.AdditionalData = driveItemToInitialize.AdditionalData;
    = 260  
    -+ 261                     object nextPageLink;
      262                     driveItemToInitialize.AdditionalData.TryGetValue("versions@odata.nextLink", out nextPageLink);
      263                     var nextPageLinkString = nextPageLink as string;
    = 264  
    -+ 265                     if (!string.IsNullOrEmpty(nextPageLinkString))
      266                     {
      267                         driveItemToInitialize.Versions.InitializeNextPageRequest(
      268                             this.Client,
      269                             nextPageLinkString);
      270                     }
      271                 }
    = 272  
257             }   273             }
258     274  
259     275  
260         }   276         }
261     }   277     }
262 }   278 }

   
File: DirectoryRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type DirectoryRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class DirectoryRequestBuilder : EntityRequestBuilder, IDirectoryRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new DirectoryRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public DirectoryRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IDirectoryRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IDirectoryRequest Request(IEnumerable<Option> options)
      48         {
      49             return new DirectoryRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
      52         /// <summary>
      53         /// Gets the request builder for DeletedItems.
      54         /// </summary>
      55         /// <returns>The <see cref="IDirectoryDeletedItemsCollectionRequestBuilder"/>.</returns>
    -+ 56         public IDirectoryDeletedItemsCollectionRequestBuilder DeletedItems
      57         {
      58             get
      59             {
      60                 return new DirectoryDeletedItemsCollectionRequestBuilder(this.AppendSegmentToRequestUrl("deletedItems"), this.Client);
      61             }
      62         }
    = 63     
    -+ 64     }
      65 }

   
File: DirectoryRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type DirectoryRequest.
      20     /// </summary>
    -+ 21     public partial class DirectoryRequest : BaseRequest, IDirectoryRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new DirectoryRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public DirectoryRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified Directory using POST.
      39         /// </summary>
      40         /// <param name="directoryToCreate">The Directory to create.</param>
      41         /// <returns>The created Directory.</returns>
    -+ 42         public System.Threading.Tasks.Task<Directory> CreateAsync(Directory directoryToCreate)
      43         {
      44             return this.CreateAsync(directoryToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified Directory using POST.
      49         /// </summary>
      50         /// <param name="directoryToCreate">The Directory to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created Directory.</returns>
    -+ 53         public async System.Threading.Tasks.Task<Directory> CreateAsync(Directory directoryToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<Directory>(directoryToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified Directory.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified Directory.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<Directory>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified Directory.
      84         /// </summary>
      85         /// <returns>The Directory.</returns>
    -+ 86         public System.Threading.Tasks.Task<Directory> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified Directory.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The Directory.</returns>
    -+ 96         public async System.Threading.Tasks.Task<Directory> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<Directory>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified Directory using PATCH.
      106         /// </summary>
      107         /// <param name="directoryToUpdate">The Directory to update.</param>
      108         /// <returns>The updated Directory.</returns>
    -+ 109         public System.Threading.Tasks.Task<Directory> UpdateAsync(Directory directoryToUpdate)
      110         {
      111             return this.UpdateAsync(directoryToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified Directory using PATCH.
      116         /// </summary>
      117         /// <param name="directoryToUpdate">The Directory to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated Directory.</returns>
    -+ 120         public async System.Threading.Tasks.Task<Directory> UpdateAsync(Directory directoryToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<Directory>(directoryToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IDirectoryRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IDirectoryRequest Expand(Expression<Func<Directory, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IDirectoryRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IDirectoryRequest Select(Expression<Func<Directory, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="directoryToInitialize">The <see cref="Directory"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(Directory directoryToInitialize)
      204         {
    = 205  
    -+ 206             if (directoryToInitialize != null && directoryToInitialize.AdditionalData != null)
      207             {
    = 208  
    -+ 209                 if (directoryToInitialize.DeletedItems != null && directoryToInitialize.DeletedItems.CurrentPage != null)
      210                 {
      211                     directoryToInitialize.DeletedItems.AdditionalData = directoryToInitialize.AdditionalData;
    = 212  
    -+ 213                     object nextPageLink;
      214                     directoryToInitialize.AdditionalData.TryGetValue("deletedItems@odata.nextLink", out nextPageLink);
      215                     var nextPageLinkString = nextPageLink as string;
    = 216  
    -+ 217                     if (!string.IsNullOrEmpty(nextPageLinkString))
      218                     {
      219                         directoryToInitialize.DeletedItems.InitializeNextPageRequest(
      220                             this.Client,
      221                             nextPageLinkString);
      222                     }
      223                 }
    = 224  
    -+ 225             }
    = 226  
      227  
    -+ 228         }
      229     }
      230 }

   
File: DirectoryObjectRestoreRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type DirectoryObjectRestoreRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class DirectoryObjectRestoreRequestBuilder : BaseActionMethodRequestBuilder<IDirectoryObjectRestoreRequest>, IDirectoryObjectRestoreRequestBuilder
      19     {
    = 20         /// <summary>
      21         /// Constructs a new <see cref="DirectoryObjectRestoreRequestBuilder"/>.
      22         /// </summary>
      23         /// <param name="requestUrl">The URL for the request.</param>
      24         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 25         public DirectoryObjectRestoreRequestBuilder(
      26             string requestUrl,
      27             IBaseClient client)
      28             : base(requestUrl, client)
      29         {
      30         }
    = 31  
      32         /// <summary>
      33         /// A method used by the base class to construct a request class instance.
      34         /// </summary>
      35         /// <param name="functionUrl">The request URL to </param>
      36         /// <param name="options">The query and header options for the request.</param>
      37         /// <returns>An instance of a specific request class.</returns>
    -+ 38         protected override IDirectoryObjectRestoreRequest CreateRequest(string functionUrl, IEnumerable<Option> options)
      39         {
      40             var request = new DirectoryObjectRestoreRequest(functionUrl, this.Client, options);
    = 41  
    -+ 42             return request;
      43         }
      44     }
      45 }

   
File: DirectoryObjectRestoreRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\MethodRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
    = 16  
      17     /// <summary>
      18     /// The type DirectoryObjectRestoreRequest.
      19     /// </summary>
    -+ 20     public partial class DirectoryObjectRestoreRequest : BaseRequest, IDirectoryObjectRestoreRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new DirectoryObjectRestoreRequest.
      24         /// </summary>
    -+ 25         public DirectoryObjectRestoreRequest(
      26             string requestUrl,
      27             IBaseClient client,
      28             IEnumerable<Option> options)
      29             : base(requestUrl, client, options)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Issues the POST request.
      35         /// </summary>
    -+ 36         public System.Threading.Tasks.Task<DirectoryObject> PostAsync()
      37         {
      38             return this.PostAsync(CancellationToken.None);
      39         }
    = 40  
      41         /// <summary>
      42         /// Issues the POST request.
      43         /// </summary>
      44         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      45         /// <returns>The task to await for async call.</returns>
    -+ 46         public System.Threading.Tasks.Task<DirectoryObject> PostAsync(
      47             CancellationToken cancellationToken)
      48         {
      49             this.Method = "POST";
      50             return this.SendAsync<DirectoryObject>(null, cancellationToken);
      51         }
    = 52  
      53  
      54  
      55  
      56         /// <summary>
      57         /// Adds the specified expand value to the request.
      58         /// </summary>
      59         /// <param name="value">The expand value.</param>
      60         /// <returns>The request object to send.</returns>
    -+ 61         public IDirectoryObjectRestoreRequest Expand(string value)
      62         {
      63             this.QueryOptions.Add(new QueryOption("$expand", value));
      64             return this;
      65         }
    = 66  
      67         /// <summary>
      68         /// Adds the specified select value to the request.
      69         /// </summary>
      70         /// <param name="value">The select value.</param>
      71         /// <returns>The request object to send.</returns>
    -+ 72         public IDirectoryObjectRestoreRequest Select(string value)
      73         {
      74             this.QueryOptions.Add(new QueryOption("$select", value));
      75             return this;
      76         }
      77     }
      78 }

   
File: DirectoryObjectRequestBuilder.cs  
89         } = 89         }
      90  
      91         /// <summary>
      92         /// Gets the request builder for DirectoryObjectRestore.
      93         /// </summary>
      94         /// <returns>The <see cref="IDirectoryObjectRestoreRequestBuilder"/>.</returns>
    -+ 95         public IDirectoryObjectRestoreRequestBuilder Restore()
      96         {
      97             return new DirectoryObjectRestoreRequestBuilder(
      98                 this.AppendSegmentToRequestUrl("microsoft.graph.restore"),
      99                 this.Client);
      100         }
90      = 101     
91     }   102     }
92 }   103 }

   
File: DirectoryDeletedItemsCollectionResponse.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionResponse.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System.Collections.Generic;
      11     using System.Runtime.Serialization;
      12     using Newtonsoft.Json;
    = 13  
      14     /// <summary>
      15     /// The type DirectoryDeletedItemsCollectionResponse.
      16     /// </summary>
    -+ 17     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      18     public class DirectoryDeletedItemsCollectionResponse
      19     {
    = 20         /// <summary>
      21         /// Gets or sets the <see cref="IDirectoryDeletedItemsCollectionPage"/> value.
      22         /// </summary>
    -+ 23         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Newtonsoft.Json.Required.Default)]
      24         public IDirectoryDeletedItemsCollectionPage Value { get; set; }
    = 25  
      26         /// <summary>
      27         /// Gets or sets additional data.
      28         /// </summary>
    -+ 29         [JsonExtensionData(ReadData = true)]
      30         public IDictionary<string, object> AdditionalData { get; set; }
      31     }
      32 }

   
File: DirectoryDeletedItemsCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The type DirectoryDeletedItemsCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial class DirectoryDeletedItemsCollectionRequestBuilder : BaseRequestBuilder, IDirectoryDeletedItemsCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Constructs a new DirectoryDeletedItemsCollectionRequestBuilder.
      20         /// </summary>
      21         /// <param name="requestUrl">The URL for the built request.</param>
      22         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 23         public DirectoryDeletedItemsCollectionRequestBuilder(
      24             string requestUrl,
      25             IBaseClient client)
      26             : base(requestUrl, client)
      27         {
      28         }
    = 29  
      30         /// <summary>
      31         /// Builds the request.
      32         /// </summary>
      33         /// <returns>The built request.</returns>
    -+ 34         public IDirectoryDeletedItemsCollectionRequest Request()
      35         {
      36             return this.Request(null);
      37         }
    = 38  
      39         /// <summary>
      40         /// Builds the request.
      41         /// </summary>
      42         /// <param name="options">The query and header options for the request.</param>
      43         /// <returns>The built request.</returns>
    -+ 44         public IDirectoryDeletedItemsCollectionRequest Request(IEnumerable<Option> options)
      45         {
      46             return new DirectoryDeletedItemsCollectionRequest(this.RequestUrl, this.Client, options);
      47         }
    = 48  
      49         /// <summary>
      50         /// Gets an <see cref="IDirectoryObjectRequestBuilder"/> for the specified DirectoryDirectoryObject.
      51         /// </summary>
      52         /// <param name="id">The ID for the DirectoryDirectoryObject.</param>
      53         /// <returns>The <see cref="IDirectoryObjectRequestBuilder"/>.</returns>
    -+ 54         public IDirectoryObjectRequestBuilder this[string id]
      55         {
      56             get
      57             {
      58                 return new DirectoryObjectRequestBuilder(this.AppendSegmentToRequestUrl(id), this.Client);
      59             }
      60         }
    = 61  
      62         /// <summary>
      63         /// Gets the request builder for DirectoryObjectGetByIds.
      64         /// </summary>
      65         /// <returns>The <see cref="IDirectoryObjectGetByIdsRequestBuilder"/>.</returns>
    -+ 66         public IDirectoryObjectGetByIdsRequestBuilder GetByIds(
      67             IEnumerable<string> ids,
      68             IEnumerable<string> types = null)
      69         {
      70             return new DirectoryObjectGetByIdsRequestBuilder(
      71                 this.AppendSegmentToRequestUrl("microsoft.graph.getByIds"),
      72                 this.Client,
      73                 ids,
      74                 types);
      75         }
      76     }
      77 }

   
File: DirectoryDeletedItemsCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The type DirectoryDeletedItemsCollectionRequest.
      19     /// </summary>
    -+ 20     public partial class DirectoryDeletedItemsCollectionRequest : BaseRequest, IDirectoryDeletedItemsCollectionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new DirectoryDeletedItemsCollectionRequest.
      24         /// </summary>
      25         /// <param name="requestUrl">The URL for the built request.</param>
      26         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      27         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 28         public DirectoryDeletedItemsCollectionRequest(
      29             string requestUrl,
      30             IBaseClient client,
      31             IEnumerable<Option> options)
      32             : base(requestUrl, client, options)
      33         {
      34         }
    = 35         
      36         /// <summary>
      37         /// Adds the specified DirectoryObject to the collection via POST.
      38         /// </summary>
      39         /// <param name="directoryObject">The DirectoryObject to add.</param>
      40         /// <returns>The created DirectoryObject.</returns>
    -+ 41         public System.Threading.Tasks.Task<DirectoryObject> AddAsync(DirectoryObject directoryObject)
      42         {
      43             return this.AddAsync(directoryObject, CancellationToken.None);
      44         }
    = 45  
      46         /// <summary>
      47         /// Adds the specified DirectoryObject to the collection via POST.
      48         /// </summary>
      49         /// <param name="directoryObject">The DirectoryObject to add.</param>
      50         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      51         /// <returns>The created DirectoryObject.</returns>
    -+ 52         public System.Threading.Tasks.Task<DirectoryObject> AddAsync(DirectoryObject directoryObject, CancellationToken cancellationToken)
      53         {
      54             this.ContentType = "application/json";
      55             this.Method = "POST";
      56             return this.SendAsync<DirectoryObject>(directoryObject, cancellationToken);
      57         }
    = 58  
      59         /// <summary>
      60         /// Gets the collection page.
      61         /// </summary>
      62         /// <returns>The collection page.</returns>
    -+ 63         public System.Threading.Tasks.Task<IDirectoryDeletedItemsCollectionPage> GetAsync()
      64         {
      65             return this.GetAsync(CancellationToken.None);
      66         }
    = 67  
      68         /// <summary>
      69         /// Gets the collection page.
      70         /// </summary>
      71         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      72         /// <returns>The collection page.</returns>
    -+ 73         public async System.Threading.Tasks.Task<IDirectoryDeletedItemsCollectionPage> GetAsync(CancellationToken cancellationToken)
      74         {
      75             this.Method = "GET";
      76             var response = await this.SendAsync<DirectoryDeletedItemsCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      77             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      78             {
      79                 if (response.AdditionalData != null)
      80                 {
      81                     object nextPageLink;
      82                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 83  
    -+ 84                     var nextPageLinkString = nextPageLink as string;
    = 85  
    -+ 86                     if (!string.IsNullOrEmpty(nextPageLinkString))
      87                     {
      88                         response.Value.InitializeNextPageRequest(
      89                             this.Client,
      90                             nextPageLinkString);
      91                     }
    = 92  
      93                     // Copy the additional data collection to the page itself so that information is not lost
    -+ 94                     response.Value.AdditionalData = response.AdditionalData;
      95                 }
    = 96  
    -+ 97                 return response.Value;
      98             }
    = 99  
    -+ 100             return null;
      101         }
    = 102  
      103         /// <summary>
      104         /// Adds the specified expand value to the request.
      105         /// </summary>
      106         /// <param name="value">The expand value.</param>
      107         /// <returns>The request object to send.</returns>
    -+ 108         public IDirectoryDeletedItemsCollectionRequest Expand(string value)
      109         {
      110             this.QueryOptions.Add(new QueryOption("$expand", value));
      111             return this;
      112         }
    = 113  
      114         /// <summary>
      115         /// Adds the specified expand value to the request.
      116         /// </summary>
      117         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      118         /// <returns>The request object to send.</returns>
    -+ 119         public IDirectoryDeletedItemsCollectionRequest Expand(Expression<Func<DirectoryObject, object>> expandExpression)
      120         {
      121             if (expandExpression == null)
      122             {
      123                 throw new ArgumentNullException(nameof(expandExpression));
      124             }
      125             string error;
      126             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      127             if (value == null)
      128             {
      129                 throw new ArgumentException(error, nameof(expandExpression));
      130             }
      131             else
      132             {
      133                 this.QueryOptions.Add(new QueryOption("$expand", value));
      134             }
      135             return this;
      136         }
    = 137  
      138         /// <summary>
      139         /// Adds the specified select value to the request.
      140         /// </summary>
      141         /// <param name="value">The select value.</param>
      142         /// <returns>The request object to send.</returns>
    -+ 143         public IDirectoryDeletedItemsCollectionRequest Select(string value)
      144         {
      145             this.QueryOptions.Add(new QueryOption("$select", value));
      146             return this;
      147         }
    = 148  
      149         /// <summary>
      150         /// Adds the specified select value to the request.
      151         /// </summary>
      152         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      153         /// <returns>The request object to send.</returns>
    -+ 154         public IDirectoryDeletedItemsCollectionRequest Select(Expression<Func<DirectoryObject, object>> selectExpression)
      155         {
      156             if (selectExpression == null)
      157             {
      158                 throw new ArgumentNullException(nameof(selectExpression));
      159             }
      160             string error;
      161             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      162             if (value == null)
      163             {
      164                 throw new ArgumentException(error, nameof(selectExpression));
      165             }
      166             else
      167             {
      168                 this.QueryOptions.Add(new QueryOption("$select", value));
      169             }
      170             return this;
      171         }
    = 172  
      173         /// <summary>
      174         /// Adds the specified top value to the request.
      175         /// </summary>
      176         /// <param name="value">The top value.</param>
      177         /// <returns>The request object to send.</returns>
    -+ 178         public IDirectoryDeletedItemsCollectionRequest Top(int value)
      179         {
      180             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      181             return this;
      182         }
    = 183  
      184         /// <summary>
      185         /// Adds the specified filter value to the request.
      186         /// </summary>
      187         /// <param name="value">The filter value.</param>
      188         /// <returns>The request object to send.</returns>
    -+ 189         public IDirectoryDeletedItemsCollectionRequest Filter(string value)
      190         {
      191             this.QueryOptions.Add(new QueryOption("$filter", value));
      192             return this;
      193         }
    = 194  
      195         /// <summary>
      196         /// Adds the specified skip value to the request.
      197         /// </summary>
      198         /// <param name="value">The skip value.</param>
      199         /// <returns>The request object to send.</returns>
    -+ 200         public IDirectoryDeletedItemsCollectionRequest Skip(int value)
      201         {
      202             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      203             return this;
      204         }
    = 205  
      206         /// <summary>
      207         /// Adds the specified orderby value to the request.
      208         /// </summary>
      209         /// <param name="value">The orderby value.</param>
      210         /// <returns>The request object to send.</returns>
    -+ 211         public IDirectoryDeletedItemsCollectionRequest OrderBy(string value)
      212         {
      213             this.QueryOptions.Add(new QueryOption("$orderby", value));
      214             return this;
      215         }
      216     }
      217 }

   
File: DirectoryDeletedItemsCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
      13     /// <summary>
      14     /// The type DirectoryDeletedItemsCollectionPage.
      15     /// </summary>
    -+ 16     public partial class DirectoryDeletedItemsCollectionPage : CollectionPage<DirectoryObject>, IDirectoryDeletedItemsCollectionPage
      17     {
    = 18         /// <summary>
      19         /// Gets the next page <see cref="IDirectoryDeletedItemsCollectionRequest"/> instance.
      20         /// </summary>
    -+ 21         public IDirectoryDeletedItemsCollectionRequest NextPageRequest { get; private set; }
    = 22  
      23         /// <summary>
      24         /// Initializes the NextPageRequest property.
      25         /// </summary>
    -+ 26         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      27         {
      28             if (!string.IsNullOrEmpty(nextPageLinkString))
      29             {
      30                 this.NextPageRequest = new DirectoryDeletedItemsCollectionRequest(
      31                     nextPageLinkString,
      32                     client,
      33                     null);
      34             }
      35         }
      36     }
      37 }

   
File: DeviceAppManagementVppTokensCollectionResponse.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionResponse.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System.Collections.Generic;
      11     using System.Runtime.Serialization;
      12     using Newtonsoft.Json;
    = 13  
      14     /// <summary>
      15     /// The type DeviceAppManagementVppTokensCollectionResponse.
      16     /// </summary>
    -+ 17     [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
      18     public class DeviceAppManagementVppTokensCollectionResponse
      19     {
    = 20         /// <summary>
      21         /// Gets or sets the <see cref="IDeviceAppManagementVppTokensCollectionPage"/> value.
      22         /// </summary>
    -+ 23         [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName ="value", Required = Newtonsoft.Json.Required.Default)]
      24         public IDeviceAppManagementVppTokensCollectionPage Value { get; set; }
    = 25  
      26         /// <summary>
      27         /// Gets or sets additional data.
      28         /// </summary>
    -+ 29         [JsonExtensionData(ReadData = true)]
      30         public IDictionary<string, object> AdditionalData { get; set; }
      31     }
      32 }

   
File: DeviceAppManagementVppTokensCollectionRequestBuilder.cs  
    = 2 //  Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
      3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequestBuilder.cs.tt
    -+ 8 namespace Microsoft.Graph
      9 {
      10     using System;
      11     using System.Collections.Generic;
    = 12  
      13     /// <summary>
      14     /// The type DeviceAppManagementVppTokensCollectionRequestBuilder.
      15     /// </summary>
    -+ 16     public partial class DeviceAppManagementVppTokensCollectionRequestBuilder : BaseRequestBuilder, IDeviceAppManagementVppTokensCollectionRequestBuilder
      17     {
    = 18         /// <summary>
      19         /// Constructs a new DeviceAppManagementVppTokensCollectionRequestBuilder.
      20         /// </summary>
      21         /// <param name="requestUrl">The URL for the built request.</param>
      22         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 23         public DeviceAppManagementVppTokensCollectionRequestBuilder(
      24             string requestUrl,
      25             IBaseClient client)
      26             : base(requestUrl, client)
      27         {
      28         }
    = 29  
      30         /// <summary>
      31         /// Builds the request.
      32         /// </summary>
      33         /// <returns>The built request.</returns>
    -+ 34         public IDeviceAppManagementVppTokensCollectionRequest Request()
      35         {
      36             return this.Request(null);
      37         }
    = 38  
      39         /// <summary>
      40         /// Builds the request.
      41         /// </summary>
      42         /// <param name="options">The query and header options for the request.</param>
      43         /// <returns>The built request.</returns>
    -+ 44         public IDeviceAppManagementVppTokensCollectionRequest Request(IEnumerable<Option> options)
      45         {
      46             return new DeviceAppManagementVppTokensCollectionRequest(this.RequestUrl, this.Client, options);
      47         }
    = 48  
      49         /// <summary>
      50         /// Gets an <see cref="IVppTokenRequestBuilder"/> for the specified DeviceAppManagementVppToken.
      51         /// </summary>
      52         /// <param name="id">The ID for the DeviceAppManagementVppToken.</param>
      53         /// <returns>The <see cref="IVppTokenRequestBuilder"/>.</returns>
    -+ 54         public IVppTokenRequestBuilder this[string id]
      55         {
      56             get
      57             {
      58                 return new VppTokenRequestBuilder(this.AppendSegmentToRequestUrl(id), this.Client);
      59             }
      60         }
    = 61  
      62         
    -+ 63     }
      64 }

   
File: DeviceAppManagementVppTokensCollectionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.Net.Http;
      14     using System.Threading;
      15     using System.Linq.Expressions;
    = 16  
      17     /// <summary>
      18     /// The type DeviceAppManagementVppTokensCollectionRequest.
      19     /// </summary>
    -+ 20     public partial class DeviceAppManagementVppTokensCollectionRequest : BaseRequest, IDeviceAppManagementVppTokensCollectionRequest
      21     {
    = 22         /// <summary>
      23         /// Constructs a new DeviceAppManagementVppTokensCollectionRequest.
      24         /// </summary>
      25         /// <param name="requestUrl">The URL for the built request.</param>
      26         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      27         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 28         public DeviceAppManagementVppTokensCollectionRequest(
      29             string requestUrl,
      30             IBaseClient client,
      31             IEnumerable<Option> options)
      32             : base(requestUrl, client, options)
      33         {
      34         }
    = 35         
      36         /// <summary>
      37         /// Adds the specified VppToken to the collection via POST.
      38         /// </summary>
      39         /// <param name="vppToken">The VppToken to add.</param>
      40         /// <returns>The created VppToken.</returns>
    -+ 41         public System.Threading.Tasks.Task<VppToken> AddAsync(VppToken vppToken)
      42         {
      43             return this.AddAsync(vppToken, CancellationToken.None);
      44         }
    = 45  
      46         /// <summary>
      47         /// Adds the specified VppToken to the collection via POST.
      48         /// </summary>
      49         /// <param name="vppToken">The VppToken to add.</param>
      50         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      51         /// <returns>The created VppToken.</returns>
    -+ 52         public System.Threading.Tasks.Task<VppToken> AddAsync(VppToken vppToken, CancellationToken cancellationToken)
      53         {
      54             this.ContentType = "application/json";
      55             this.Method = "POST";
      56             return this.SendAsync<VppToken>(vppToken, cancellationToken);
      57         }
    = 58  
      59         /// <summary>
      60         /// Gets the collection page.
      61         /// </summary>
      62         /// <returns>The collection page.</returns>
    -+ 63         public System.Threading.Tasks.Task<IDeviceAppManagementVppTokensCollectionPage> GetAsync()
      64         {
      65             return this.GetAsync(CancellationToken.None);
      66         }
    = 67  
      68         /// <summary>
      69         /// Gets the collection page.
      70         /// </summary>
      71         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      72         /// <returns>The collection page.</returns>
    -+ 73         public async System.Threading.Tasks.Task<IDeviceAppManagementVppTokensCollectionPage> GetAsync(CancellationToken cancellationToken)
      74         {
      75             this.Method = "GET";
      76             var response = await this.SendAsync<DeviceAppManagementVppTokensCollectionResponse>(null, cancellationToken).ConfigureAwait(false);
      77             if (response != null && response.Value != null && response.Value.CurrentPage != null)
      78             {
      79                 if (response.AdditionalData != null)
      80                 {
      81                     object nextPageLink;
      82                     response.AdditionalData.TryGetValue("@odata.nextLink", out nextPageLink);
    = 83  
    -+ 84                     var nextPageLinkString = nextPageLink as string;
    = 85  
    -+ 86                     if (!string.IsNullOrEmpty(nextPageLinkString))
      87                     {
      88                         response.Value.InitializeNextPageRequest(
      89                             this.Client,
      90                             nextPageLinkString);
      91                     }
    = 92  
      93                     // Copy the additional data collection to the page itself so that information is not lost
    -+ 94                     response.Value.AdditionalData = response.AdditionalData;
      95                 }
    = 96  
    -+ 97                 return response.Value;
      98             }
    = 99  
    -+ 100             return null;
      101         }
    = 102  
      103         /// <summary>
      104         /// Adds the specified expand value to the request.
      105         /// </summary>
      106         /// <param name="value">The expand value.</param>
      107         /// <returns>The request object to send.</returns>
    -+ 108         public IDeviceAppManagementVppTokensCollectionRequest Expand(string value)
      109         {
      110             this.QueryOptions.Add(new QueryOption("$expand", value));
      111             return this;
      112         }
    = 113  
      114         /// <summary>
      115         /// Adds the specified expand value to the request.
      116         /// </summary>
      117         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      118         /// <returns>The request object to send.</returns>
    -+ 119         public IDeviceAppManagementVppTokensCollectionRequest Expand(Expression<Func<VppToken, object>> expandExpression)
      120         {
      121             if (expandExpression == null)
      122             {
      123                 throw new ArgumentNullException(nameof(expandExpression));
      124             }
      125             string error;
      126             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      127             if (value == null)
      128             {
      129                 throw new ArgumentException(error, nameof(expandExpression));
      130             }
      131             else
      132             {
      133                 this.QueryOptions.Add(new QueryOption("$expand", value));
      134             }
      135             return this;
      136         }
    = 137  
      138         /// <summary>
      139         /// Adds the specified select value to the request.
      140         /// </summary>
      141         /// <param name="value">The select value.</param>
      142         /// <returns>The request object to send.</returns>
    -+ 143         public IDeviceAppManagementVppTokensCollectionRequest Select(string value)
      144         {
      145             this.QueryOptions.Add(new QueryOption("$select", value));
      146             return this;
      147         }
    = 148  
      149         /// <summary>
      150         /// Adds the specified select value to the request.
      151         /// </summary>
      152         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      153         /// <returns>The request object to send.</returns>
    -+ 154         public IDeviceAppManagementVppTokensCollectionRequest Select(Expression<Func<VppToken, object>> selectExpression)
      155         {
      156             if (selectExpression == null)
      157             {
      158                 throw new ArgumentNullException(nameof(selectExpression));
      159             }
      160             string error;
      161             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      162             if (value == null)
      163             {
      164                 throw new ArgumentException(error, nameof(selectExpression));
      165             }
      166             else
      167             {
      168                 this.QueryOptions.Add(new QueryOption("$select", value));
      169             }
      170             return this;
      171         }
    = 172  
      173         /// <summary>
      174         /// Adds the specified top value to the request.
      175         /// </summary>
      176         /// <param name="value">The top value.</param>
      177         /// <returns>The request object to send.</returns>
    -+ 178         public IDeviceAppManagementVppTokensCollectionRequest Top(int value)
      179         {
      180             this.QueryOptions.Add(new QueryOption("$top", value.ToString()));
      181             return this;
      182         }
    = 183  
      184         /// <summary>
      185         /// Adds the specified filter value to the request.
      186         /// </summary>
      187         /// <param name="value">The filter value.</param>
      188         /// <returns>The request object to send.</returns>
    -+ 189         public IDeviceAppManagementVppTokensCollectionRequest Filter(string value)
      190         {
      191             this.QueryOptions.Add(new QueryOption("$filter", value));
      192             return this;
      193         }
    = 194  
      195         /// <summary>
      196         /// Adds the specified skip value to the request.
      197         /// </summary>
      198         /// <param name="value">The skip value.</param>
      199         /// <returns>The request object to send.</returns>
    -+ 200         public IDeviceAppManagementVppTokensCollectionRequest Skip(int value)
      201         {
      202             this.QueryOptions.Add(new QueryOption("$skip", value.ToString()));
      203             return this;
      204         }
    = 205  
      206         /// <summary>
      207         /// Adds the specified orderby value to the request.
      208         /// </summary>
      209         /// <param name="value">The orderby value.</param>
      210         /// <returns>The request object to send.</returns>
    -+ 211         public IDeviceAppManagementVppTokensCollectionRequest OrderBy(string value)
      212         {
      213             this.QueryOptions.Add(new QueryOption("$orderby", value));
      214             return this;
      215         }
      216     }
      217 }

   
File: DeviceAppManagementVppTokensCollectionPage.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityCollectionPage.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
    = 12  
      13     /// <summary>
      14     /// The type DeviceAppManagementVppTokensCollectionPage.
      15     /// </summary>
    -+ 16     public partial class DeviceAppManagementVppTokensCollectionPage : CollectionPage<VppToken>, IDeviceAppManagementVppTokensCollectionPage
      17     {
    = 18         /// <summary>
      19         /// Gets the next page <see cref="IDeviceAppManagementVppTokensCollectionRequest"/> instance.
      20         /// </summary>
    -+ 21         public IDeviceAppManagementVppTokensCollectionRequest NextPageRequest { get; private set; }
    = 22  
      23         /// <summary>
      24         /// Initializes the NextPageRequest property.
      25         /// </summary>
    -+ 26         public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString)
      27         {
      28             if (!string.IsNullOrEmpty(nextPageLinkString))
      29             {
      30                 this.NextPageRequest = new DeviceAppManagementVppTokensCollectionRequest(
      31                     nextPageLinkString,
      32                     client,
      33                     null);
      34             }
      35         }
      36     }
      37 }

   
File: DeviceAppManagementRequestBuilder.cs  
86         } = 86         }
87     87  
88         /// <summary>   88         /// <summary>
      89         /// Gets the request builder for VppTokens.
      90         /// </summary>
      91         /// <returns>The <see cref="IDeviceAppManagementVppTokensCollectionRequestBuilder"/>.</returns>
    -+ 92         public IDeviceAppManagementVppTokensCollectionRequestBuilder VppTokens
      93         {
      94             get
      95             {
      96                 return new DeviceAppManagementVppTokensCollectionRequestBuilder(this.AppendSegmentToRequestUrl("vppTokens"), this.Client);
      97             }
      98         }
    = 99  
      100         /// <summary>
89         /// Gets the request builder for ManagedAppPolicies.   101         /// Gets the request builder for ManagedAppPolicies.
90         /// </summary>   102         /// </summary>
91         /// <returns>The <see cref="IDeviceAppManagementManagedAppPoliciesCollectionRequestBuilder"/>.</returns>   103         /// <returns>The <see cref="IDeviceAppManagementManagedAppPoliciesCollectionRequestBuilder"/>.</returns>
92         public IDeviceAppManagementManagedAppPoliciesCollectionRequestBuilder ManagedAppPolicies   104         public IDeviceAppManagementManagedAppPoliciesCollectionRequestBuilder ManagedAppPolicies

   
File: DeviceAppManagementRequest.cs  
251                         deviceAppManagementToInitialize.MobileAppConfigurations.InitializeNextPageRequest( = 251                         deviceAppManagementToInitialize.MobileAppConfigurations.InitializeNextPageRequest(
252                             this.Client,   252                             this.Client,
253                             nextPageLinkString);   253                             nextPageLinkString);
254                     }   254                     }
255                 }   255                 }
256     256  
    -+ 257                 if (deviceAppManagementToInitialize.VppTokens != null && deviceAppManagementToInitialize.VppTokens.CurrentPage != null)
      258                 {
      259                     deviceAppManagementToInitialize.VppTokens.AdditionalData = deviceAppManagementToInitialize.AdditionalData;
    = 260  
    -+ 261                     object nextPageLink;
      262                     deviceAppManagementToInitialize.AdditionalData.TryGetValue("vppTokens@odata.nextLink", out nextPageLink);
      263                     var nextPageLinkString = nextPageLink as string;
    = 264  
    -+ 265                     if (!string.IsNullOrEmpty(nextPageLinkString))
      266                     {
      267                         deviceAppManagementToInitialize.VppTokens.InitializeNextPageRequest(
      268                             this.Client,
      269                             nextPageLinkString);
      270                     }
      271                 }
    = 272  
257                 if (deviceAppManagementToInitialize.ManagedAppPolicies != null && deviceAppManagementToInitialize.ManagedAppPolicies.CurrentPage != null)   273                 if (deviceAppManagementToInitialize.ManagedAppPolicies != null && deviceAppManagementToInitialize.ManagedAppPolicies.CurrentPage != null)
258                 {   274                 {
259                     deviceAppManagementToInitialize.ManagedAppPolicies.AdditionalData = deviceAppManagementToInitialize.AdditionalData;   275                     deviceAppManagementToInitialize.ManagedAppPolicies.AdditionalData = deviceAppManagementToInitialize.AdditionalData;
260     276  
261                     object nextPageLink;   277                     object nextPageLink;

   
File: BaseItemVersionRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type BaseItemVersionRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class BaseItemVersionRequestBuilder : EntityRequestBuilder, IBaseItemVersionRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new BaseItemVersionRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public BaseItemVersionRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IBaseItemVersionRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IBaseItemVersionRequest Request(IEnumerable<Option> options)
      48         {
      49             return new BaseItemVersionRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
    -+ 52     }
      53 }

   
File: BaseItemVersionRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type BaseItemVersionRequest.
      20     /// </summary>
    -+ 21     public partial class BaseItemVersionRequest : BaseRequest, IBaseItemVersionRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new BaseItemVersionRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public BaseItemVersionRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified BaseItemVersion using POST.
      39         /// </summary>
      40         /// <param name="baseItemVersionToCreate">The BaseItemVersion to create.</param>
      41         /// <returns>The created BaseItemVersion.</returns>
    -+ 42         public System.Threading.Tasks.Task<BaseItemVersion> CreateAsync(BaseItemVersion baseItemVersionToCreate)
      43         {
      44             return this.CreateAsync(baseItemVersionToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified BaseItemVersion using POST.
      49         /// </summary>
      50         /// <param name="baseItemVersionToCreate">The BaseItemVersion to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created BaseItemVersion.</returns>
    -+ 53         public async System.Threading.Tasks.Task<BaseItemVersion> CreateAsync(BaseItemVersion baseItemVersionToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<BaseItemVersion>(baseItemVersionToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified BaseItemVersion.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified BaseItemVersion.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<BaseItemVersion>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified BaseItemVersion.
      84         /// </summary>
      85         /// <returns>The BaseItemVersion.</returns>
    -+ 86         public System.Threading.Tasks.Task<BaseItemVersion> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified BaseItemVersion.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The BaseItemVersion.</returns>
    -+ 96         public async System.Threading.Tasks.Task<BaseItemVersion> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<BaseItemVersion>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified BaseItemVersion using PATCH.
      106         /// </summary>
      107         /// <param name="baseItemVersionToUpdate">The BaseItemVersion to update.</param>
      108         /// <returns>The updated BaseItemVersion.</returns>
    -+ 109         public System.Threading.Tasks.Task<BaseItemVersion> UpdateAsync(BaseItemVersion baseItemVersionToUpdate)
      110         {
      111             return this.UpdateAsync(baseItemVersionToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified BaseItemVersion using PATCH.
      116         /// </summary>
      117         /// <param name="baseItemVersionToUpdate">The BaseItemVersion to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated BaseItemVersion.</returns>
    -+ 120         public async System.Threading.Tasks.Task<BaseItemVersion> UpdateAsync(BaseItemVersion baseItemVersionToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<BaseItemVersion>(baseItemVersionToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IBaseItemVersionRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IBaseItemVersionRequest Expand(Expression<Func<BaseItemVersion, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IBaseItemVersionRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IBaseItemVersionRequest Select(Expression<Func<BaseItemVersion, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="baseItemVersionToInitialize">The <see cref="BaseItemVersion"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(BaseItemVersion baseItemVersionToInitialize)
      204         {
    = 205  
    -+ 206         }
      207     }
      208 }

   
File: ActivityHistoryItemRequestBuilder.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequestBuilder.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
    = 14  
      15     /// <summary>
      16     /// The type ActivityHistoryItemRequestBuilder.
      17     /// </summary>
    -+ 18     public partial class ActivityHistoryItemRequestBuilder : EntityRequestBuilder, IActivityHistoryItemRequestBuilder
      19     {
    = 20  
      21         /// <summary>
      22         /// Constructs a new ActivityHistoryItemRequestBuilder.
      23         /// </summary>
      24         /// <param name="requestUrl">The URL for the built request.</param>
      25         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
    -+ 26         public ActivityHistoryItemRequestBuilder(
      27             string requestUrl,
      28             IBaseClient client)
      29             : base(requestUrl, client)
      30         {
      31         }
    = 32  
      33         /// <summary>
      34         /// Builds the request.
      35         /// </summary>
      36         /// <returns>The built request.</returns>
    -+ 37         public new IActivityHistoryItemRequest Request()
      38         {
      39             return this.Request(null);
      40         }
    = 41  
      42         /// <summary>
      43         /// Builds the request.
      44         /// </summary>
      45         /// <param name="options">The query and header options for the request.</param>
      46         /// <returns>The built request.</returns>
    -+ 47         public new IActivityHistoryItemRequest Request(IEnumerable<Option> options)
      48         {
      49             return new ActivityHistoryItemRequest(this.RequestUrl, this.Client, options);
      50         }
    = 51     
      52         /// <summary>
      53         /// Gets the request builder for Activity.
      54         /// </summary>
      55         /// <returns>The <see cref="IUserActivityWithReferenceRequestBuilder"/>.</returns>
    -+ 56         public IUserActivityWithReferenceRequestBuilder Activity
      57         {
      58             get
      59             {
      60                 return new UserActivityWithReferenceRequestBuilder(this.AppendSegmentToRequestUrl("activity"), this.Client);
      61             }
      62         }
    = 63     
    -+ 64     }
      65 }

   
File: ActivityHistoryItemRequest.cs  
    = 3 // ------------------------------------------------------------------------------
      4  
      5 // **NOTE** This file was generated by a tool and any changes will be overwritten.
      6  
      7 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
      8  
    -+ 9 namespace Microsoft.Graph
      10 {
      11     using System;
      12     using System.Collections.Generic;
      13     using System.IO;
      14     using System.Net.Http;
      15     using System.Threading;
      16     using System.Linq.Expressions;
    = 17  
      18     /// <summary>
      19     /// The type ActivityHistoryItemRequest.
      20     /// </summary>
    -+ 21     public partial class ActivityHistoryItemRequest : BaseRequest, IActivityHistoryItemRequest
      22     {
    = 23         /// <summary>
      24         /// Constructs a new ActivityHistoryItemRequest.
      25         /// </summary>
      26         /// <param name="requestUrl">The URL for the built request.</param>
      27         /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
      28         /// <param name="options">Query and header option name value pairs for the request.</param>
    -+ 29         public ActivityHistoryItemRequest(
      30             string requestUrl,
      31             IBaseClient client,
      32             IEnumerable<Option> options)
      33             : base(requestUrl, client, options)
      34         {
      35         }
    = 36  
      37         /// <summary>
      38         /// Creates the specified ActivityHistoryItem using POST.
      39         /// </summary>
      40         /// <param name="activityHistoryItemToCreate">The ActivityHistoryItem to create.</param>
      41         /// <returns>The created ActivityHistoryItem.</returns>
    -+ 42         public System.Threading.Tasks.Task<ActivityHistoryItem> CreateAsync(ActivityHistoryItem activityHistoryItemToCreate)
      43         {
      44             return this.CreateAsync(activityHistoryItemToCreate, CancellationToken.None);
      45         }
    = 46  
      47         /// <summary>
      48         /// Creates the specified ActivityHistoryItem using POST.
      49         /// </summary>
      50         /// <param name="activityHistoryItemToCreate">The ActivityHistoryItem to create.</param>
      51         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      52         /// <returns>The created ActivityHistoryItem.</returns>
    -+ 53         public async System.Threading.Tasks.Task<ActivityHistoryItem> CreateAsync(ActivityHistoryItem activityHistoryItemToCreate, CancellationToken cancellationToken)
      54         {
      55             this.ContentType = "application/json";
      56             this.Method = "POST";
      57             var newEntity = await this.SendAsync<ActivityHistoryItem>(activityHistoryItemToCreate, cancellationToken).ConfigureAwait(false);
      58             this.InitializeCollectionProperties(newEntity);
      59             return newEntity;
      60         }
    = 61  
      62         /// <summary>
      63         /// Deletes the specified ActivityHistoryItem.
      64         /// </summary>
      65         /// <returns>The task to await.</returns>
    -+ 66         public System.Threading.Tasks.Task DeleteAsync()
      67         {
      68             return this.DeleteAsync(CancellationToken.None);
      69         }
    = 70  
      71         /// <summary>
      72         /// Deletes the specified ActivityHistoryItem.
      73         /// </summary>
      74         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      75         /// <returns>The task to await.</returns>
    -+ 76         public async System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken)
      77         {
      78             this.Method = "DELETE";
      79             await this.SendAsync<ActivityHistoryItem>(null, cancellationToken).ConfigureAwait(false);
      80         }
    = 81  
      82         /// <summary>
      83         /// Gets the specified ActivityHistoryItem.
      84         /// </summary>
      85         /// <returns>The ActivityHistoryItem.</returns>
    -+ 86         public System.Threading.Tasks.Task<ActivityHistoryItem> GetAsync()
      87         {
      88             return this.GetAsync(CancellationToken.None);
      89         }
    = 90  
      91         /// <summary>
      92         /// Gets the specified ActivityHistoryItem.
      93         /// </summary>
      94         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      95         /// <returns>The ActivityHistoryItem.</returns>
    -+ 96         public async System.Threading.Tasks.Task<ActivityHistoryItem> GetAsync(CancellationToken cancellationToken)
      97         {
      98             this.Method = "GET";
      99             var retrievedEntity = await this.SendAsync<ActivityHistoryItem>(null, cancellationToken).ConfigureAwait(false);
      100             this.InitializeCollectionProperties(retrievedEntity);
      101             return retrievedEntity;
      102         }
    = 103  
      104         /// <summary>
      105         /// Updates the specified ActivityHistoryItem using PATCH.
      106         /// </summary>
      107         /// <param name="activityHistoryItemToUpdate">The ActivityHistoryItem to update.</param>
      108         /// <returns>The updated ActivityHistoryItem.</returns>
    -+ 109         public System.Threading.Tasks.Task<ActivityHistoryItem> UpdateAsync(ActivityHistoryItem activityHistoryItemToUpdate)
      110         {
      111             return this.UpdateAsync(activityHistoryItemToUpdate, CancellationToken.None);
      112         }
    = 113  
      114         /// <summary>
      115         /// Updates the specified ActivityHistoryItem using PATCH.
      116         /// </summary>
      117         /// <param name="activityHistoryItemToUpdate">The ActivityHistoryItem to update.</param>
      118         /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
      119         /// <returns>The updated ActivityHistoryItem.</returns>
    -+ 120         public async System.Threading.Tasks.Task<ActivityHistoryItem> UpdateAsync(ActivityHistoryItem activityHistoryItemToUpdate, CancellationToken cancellationToken)
      121         {
      122             this.ContentType = "application/json";
      123             this.Method = "PATCH";
      124             var updatedEntity = await this.SendAsync<ActivityHistoryItem>(activityHistoryItemToUpdate, cancellationToken).ConfigureAwait(false);
      125             this.InitializeCollectionProperties(updatedEntity);
      126             return updatedEntity;
      127         }
    = 128  
      129         /// <summary>
      130         /// Adds the specified expand value to the request.
      131         /// </summary>
      132         /// <param name="value">The expand value.</param>
      133         /// <returns>The request object to send.</returns>
    -+ 134         public IActivityHistoryItemRequest Expand(string value)
      135         {
      136             this.QueryOptions.Add(new QueryOption("$expand", value));
      137             return this;
      138         }
    = 139  
      140         /// <summary>
      141         /// Adds the specified expand value to the request.
      142         /// </summary>
      143         /// <param name="expandExpression">The expression from which to calculate the expand value.</param>
      144         /// <returns>The request object to send.</returns>
    -+ 145         public IActivityHistoryItemRequest Expand(Expression<Func<ActivityHistoryItem, object>> expandExpression)
      146         {
      147             if (expandExpression == null)
      148             {
      149                 throw new ArgumentNullException(nameof(expandExpression));
      150             }
      151             string error;
      152             string value = ExpressionExtractHelper.ExtractMembers(expandExpression, out error);
      153             if (value == null)
      154             {
      155                 throw new ArgumentException(error, nameof(expandExpression));
      156             }
      157             else
      158             {
      159                 this.QueryOptions.Add(new QueryOption("$expand", value));
      160             }
      161             return this;
      162         }
    = 163  
      164         /// <summary>
      165         /// Adds the specified select value to the request.
      166         /// </summary>
      167         /// <param name="value">The select value.</param>
      168         /// <returns>The request object to send.</returns>
    -+ 169         public IActivityHistoryItemRequest Select(string value)
      170         {
      171             this.QueryOptions.Add(new QueryOption("$select", value));
      172             return this;
      173         }
    = 174  
      175         /// <summary>
      176         /// Adds the specified select value to the request.
      177         /// </summary>
      178         /// <param name="selectExpression">The expression from which to calculate the select value.</param>
      179         /// <returns>The request object to send.</returns>
    -+ 180         public IActivityHistoryItemRequest Select(Expression<Func<ActivityHistoryItem, object>> selectExpression)
      181         {
      182             if (selectExpression == null)
      183             {
      184                 throw new ArgumentNullException(nameof(selectExpression));
      185             }
      186             string error;
      187             string value = ExpressionExtractHelper.ExtractMembers(selectExpression, out error);
      188             if (value == null)
      189             {
      190                 throw new ArgumentException(error, nameof(selectExpression));
      191             }
      192             else
      193             {
      194                 this.QueryOptions.Add(new QueryOption("$select", value));
      195             }
      196             return this;
      197         }
    = 198  
      199         /// <summary>
      200         /// Initializes any collection properties after deserialization, like next requests for paging.
      201         /// </summary>
      202         /// <param name="activityHistoryItemToInitialize">The <see cref="ActivityHistoryItem"/> with the collection properties to initialize.</param>
    -+ 203         private void InitializeCollectionProperties(ActivityHistoryItem activityHistoryItemToInitialize)
      204         {
    = 205  
    -+ 206         }
      207     }
      208 }